Specify the dynamic linker name for cross-compilation to GNU/Hurd.

svn path=/nixpkgs/trunk/; revision=27428
This commit is contained in:
Ludovic Courtès 2011-06-12 22:32:44 +00:00
parent aa6313051b
commit 65f50c7aab

View File

@ -67,6 +67,7 @@ stdenv.mkDerivation {
dynamicLinker =
(if stdenv.cross.arch == "arm" then "ld-linux.so.3" else
if stdenv.cross.arch == "mips" then "ld.so.1" else
if stdenv.lib.hasSuffix "pc-gnu" cross.config then "ld.so.1" else
abort "don't know the name of the dynamic linker for this platform");
};