mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
scripts: fix 64bit uclibc external toolchain detection
according to gcc, UCLIBC_DYNAMIC_LINKER64 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46362
This commit is contained in:
parent
096b3759a9
commit
3eff7927ce
@ -91,7 +91,7 @@ test_uclibc() {
|
|||||||
local sysroot="$("$CC" $CFLAGS -print-sysroot 2>/dev/null)"
|
local sysroot="$("$CC" $CFLAGS -print-sysroot 2>/dev/null)"
|
||||||
if [ -d "${sysroot:-$TOOLCHAIN}" ]; then
|
if [ -d "${sysroot:-$TOOLCHAIN}" ]; then
|
||||||
local lib
|
local lib
|
||||||
for lib in "${sysroot:-$TOOLCHAIN}"/{lib,usr/lib,usr/local/lib}/ld-uClibc*.so*; do
|
for lib in "${sysroot:-$TOOLCHAIN}"/{lib,usr/lib,usr/local/lib}/ld*-uClibc*.so*; do
|
||||||
if [ -f "$lib" ] && [ ! -h "$lib" ]; then
|
if [ -f "$lib" ] && [ ! -h "$lib" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user