darwin: use system dyld

see https://github.com/NixOS/nixpkgs/issues/9432
This commit is contained in:
Jude Taylor 2015-08-24 18:57:06 -07:00
parent e4644a5b58
commit 80e09678f7

View file

@ -244,7 +244,7 @@ stdenv.mkDerivation {
if stdenv.isArm then "ld-linux*.so.3" else
if stdenv.system == "powerpc-linux" then "ld.so.1" else
if stdenv.system == "mips64el-linux" then "ld.so.1" else
if stdenv.system == "x86_64-darwin" then "${dyld}/lib/dyld" else
if stdenv.system == "x86_64-darwin" then "/usr/lib/dyld" else
abort "Don't know the name of the dynamic linker for this platform.")
else "";