diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-14 09:57:52 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-14 09:57:52 +0000 |
commit | 1d59490b54e6e24320de28e6aadf6a6ad8a2172a (patch) | |
tree | 94c0fcfa570f63fed2bc9cd462468088a9d72020 /scripts | |
parent | b5bb9272ee773d30c1fde2da17c087618264ab6f (diff) | |
download | master-187ad058-1d59490b54e6e24320de28e6aadf6a6ad8a2172a.tar.gz master-187ad058-1d59490b54e6e24320de28e6aadf6a6ad8a2172a.tar.bz2 master-187ad058-1d59490b54e6e24320de28e6aadf6a6ad8a2172a.zip |
scripts: fix 64bit uclibc external toolchain detection
according to gcc, UCLIBC_DYNAMIC_LINKER64
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46362 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ext-toolchain.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh index 3ebaa21487..a552fbe3fc 100755 --- a/scripts/ext-toolchain.sh +++ b/scripts/ext-toolchain.sh @@ -91,7 +91,7 @@ test_uclibc() { local sysroot="$("$CC" $CFLAGS -print-sysroot 2>/dev/null)" if [ -d "${sysroot:-$TOOLCHAIN}" ]; then 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 return 0 fi |