mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
libredirect: fix install name on aarch64-darwin
The install name should be the full path. This matches x86_64-darwin.
This commit is contained in:
parent
e694240f77
commit
4ebdf0442f
@ -45,6 +45,7 @@ else stdenv.mkDerivation rec {
|
||||
-isystem ${llvmPackages.libclang.lib}/lib/clang/*/include \
|
||||
-L${llvmPackages.clang.libc}/lib \
|
||||
-Wl,-install_name,$libName \
|
||||
-Wl,-install_name,$out/lib/$libName \
|
||||
-Wall -std=c99 -O3 -fPIC libredirect.c \
|
||||
-shared -o "$libName"
|
||||
'' else if stdenv.hostPlatform.isDarwin then ''
|
||||
|
Loading…
Reference in New Issue
Block a user