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:
parent
4b42d5f7a9
commit
de5e1de89b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue