summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-08-23 02:31:38 +0300
committerArtturin <Artturin@artturin.com>2022-08-26 20:55:30 +0300
commita2c61752fb424f0f4345113d18a1b4a14a10c381 (patch)
tree5c575f5feffdc673c8ddcab0828a48c67c5a10ad /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentec35f6341bc64bea3cfd4f384085c6c28f3590b8 (diff)
lua.pkgs.luarocks: fix usage in cross-compilation
copy of comment https://github.com/luarocks/luarocks/pull/1433/commits/8d878e4981d71c08090f509c390dcb4c879971f6#r954257465 with this patch the build of luasystem fails LD=ld ``` ld -shared -o system/core.so src/core.o src/compat.o src/time.o -L/nix/store/...-glibc-2.35-163/lib -Wl,-rpath,/nix/store/...-glibc-2.35-163/lib -lrt /nix/store/vhf2cr6immz4qdxd83y025fnxim8mmfg-binutils-2.38/bin/ld: unrecognized option '-Wl,-rpath,/nix/store/...-glibc-2.35-163/lib' /nix/store/vhf2cr6immz4qdxd83y025fnxim8mmfg-binutils-2.38/bin/ld: use the --help option for usage information Error: Build error: Failed compiling module system/core.so ``` LD=gcc ``` gcc -shared -o system/core.so src/core.o src/compat.o src/time.o -L/nix/store/...-glibc-2.35-163/lib -Wl,-rpath,/nix/store/...-glibc-2.35-163/lib -lrt ``` `-Wl,rpath... -lrt` are added by https://github.com/luarocks/luarocks/blob/ecb63347bf7d44c68210befc9d03c013350c7831/src/luarocks/build/builtin.lua#L249-L250
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions