summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-11-03 16:57:34 +0000
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-12-02 16:11:43 -0800
commit801078806b8664c8c5aa90587dcabf8b285e9269 (patch)
tree1bee0736218441f79458eb378e5202602f439978 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent2e6fadac4ed52857ad0baf664c38f3f95819d8f3 (diff)
pkg-config: always pass --static in static builds
By default, pkg-config output will not include Requires.private dependencies (which specify dependencies that only apply when building statically). It will only do this when passed --static. In pkgsStatic, let's ensure pkg-config is always operating in static mode, because pkgsStatic will ensure that any libraries pkg-config might find will always be static, and so will always need their Requires.private dependencies. This is very useful for Meson builds, because otherwise Meson will only pass --static to pkg-config if the dependency was explicitly "static : true", which is not likely to be the case for most stuff we're building. An alternative proposal was to patch Meson to add a special environment variable to force dependencies to be "static : true". I feel that the approach I've taken here is less invasive.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions