diff --git a/maintainers/scripts/patchelf-hints.sh b/maintainers/scripts/patchelf-hints.sh index 5d0dc99ae016..8de1d37c7f93 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"