summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-01-28 11:31:08 +0000
committerSergei Trofimovich <slyich@gmail.com>2023-01-28 11:34:39 +0000
commit7c73d1e0258453b7ee08305e284197f8a7f7940c (patch)
tree06897fc312e729878e900e61d385aeb130f43c04 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent277d34fbdf8ad29551a24d053ef4019cc2b5d0a0 (diff)
dmd: set --sysroot=/ to avoid cc-wrapper value
After https://github.com/NixOS/nixpkgs/pull/210004 `dmd` started failing build as: ld: warning: libm.so.6, needed by ./generated/linux/release/64/lib.so, not found (try using -rpath or -rpath-link) ld: /build/druntime/generated/linux/release/64/libdruntime.so: undefined reference to `log10@GLIBC_2.2.5' This happens because --sysroot=/nix/store/does/not/exist removes not just include headers by prefixing wrong path, but also removes RUNPATH dependencies of linked libraries. It's an unintended effect. Restore the build by reversing the effect with --sysroot=/.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions