summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-02 22:44:41 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-02 22:44:41 +0000
commitde5e1de89b3d97004ffa9fb61ac64018b488a1c2 (patch)
tree394abcb5afd6f69abbe6cabbbffe0af73a5879a8 /pkgs
parent4b42d5f7a9f7a7eda503bf66c6dee818d843cb10 (diff)
downloadnixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.tar
nixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.tar.gz
nixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.tar.bz2
nixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.tar.lz
nixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.tar.xz
nixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.tar.zst
nixpkgs-de5e1de89b3d97004ffa9fb61ac64018b488a1c2.zip
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
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/gcc-cross-wrapper/builder.sh2
1 files changed, 1 insertions, 1 deletions
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