diff --git a/pkgs/build-support/gcc-cross-wrapper/builder.sh b/pkgs/build-support/gcc-cross-wrapper/builder.sh index e71e1742720..674c2b89b52 100644 --- a/pkgs/build-support/gcc-cross-wrapper/builder.sh +++ b/pkgs/build-support/gcc-cross-wrapper/builder.sh @@ -8,7 +8,7 @@ if test -z "$nativeLibc"; then cflagsCompile="$cflagsCompile -B$libc/lib/ -isystem $libc/include" ldflags="$ldflags -L$libc/lib" # Get the proper dynamic linker for glibc and uclibc. - dlinker=`eval 'echo $libc/lib/ld-*.so.?'` + dlinker=`eval 'echo $libc/lib/ld*.so.?'` if [ -n "$dlinker" ]; then ldflagsBefore="-dynamic-linker $dlinker" fi