Unverified Commit 4ebdf044 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

libredirect: fix install name on aarch64-darwin

The install name should be the full path. This matches x86_64-darwin.
parent e694240f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 ''