From de5e1de89b3d97004ffa9fb61ac64018b488a1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 2 Aug 2010 22:44:41 +0000 Subject: [PATCH] Fixing the dynamic linker in the gcc-cross-wrapper so it takes also the dynamic linker of glibc on mips (specifically ld.so.1, and not ld-*.so.? as we had before) svn path=/nixpkgs/trunk/; revision=22912 --- pkgs/build-support/gcc-cross-wrapper/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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