3
0
Fork 0
forked from mirrors/nixpkgs

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
This commit is contained in:
Lluís Batlle i Rossell 2010-08-02 22:44:41 +00:00
parent 4b42d5f7a9
commit de5e1de89b

View file

@ -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