summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2023-08-10 15:38:47 -0400
committerBen Wolsieffer <benwolsieffer@gmail.com>2023-08-16 14:31:16 -0400
commitd16b0690f8f73e2b085136591cab912d51fe944b (patch)
tree4c2f903a7cd338695cfa0a5ee564ec1d525ce1b5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentf0451844bbdf545f696f029d1448de4906c7f753 (diff)
libiio: disable Python for static builds
libiio's Python bindings use ctypes to load the shared library, which obviously can't work with a static build. This has recently started causing eval errors because the package uses stdenv.hostPlatform.extensions.sharedLibrary, which isn't available when building a static library. This patch adds a flag to disable the Python bindings, and automatically disables them for static builds. Note that even with this patch, static libiio doesn't build successfully by default. You have to disable avahi and manually disable libxml2 with custom CMake flags.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions