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:
Randy Eckenrode
2024-10-10 01:07:26 -04:00
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 ''