From 96b19524399dfa57737622dc1d0f034c2f8ffaaa Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sun, 13 Sep 2009 16:08:55 +0000 Subject: [PATCH] Fix hard-coded value to access gcc libraries. svn path=/nixpkgs/trunk/; revision=17093 --- maintainers/scripts/patchelf-hints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/scripts/patchelf-hints.sh b/maintainers/scripts/patchelf-hints.sh index 5d0dc99ae01..8de1d37c7f9 100755 --- a/maintainers/scripts/patchelf-hints.sh +++ b/maintainers/scripts/patchelf-hints.sh @@ -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"