3
0
Fork 0
forked from mirrors/nixpkgs

Fix hard-coded value to access gcc libraries.

svn path=/nixpkgs/trunk/; revision=17093
This commit is contained in:
Nicolas Pierron 2009-09-13 16:08:55 +00:00
parent e84c0eca1f
commit 96b1952439

View file

@ -62,7 +62,7 @@ for bin in $(find $binaryDist -executable -type f) :; do
)
if test "$names" = "glibc"; then names="stdenv.glibc"; fi
if echo $names | grep -c "gcc" &> /dev/null; then names="stdenv.gcc"; fi
if echo $names | grep -c "gcc" &> /dev/null; then names="stdenv.gcc.gcc"; fi
if test $lib != $libPath; then
interpreter="--interpreter \${$names}/lib/$lib"