diff options
author | John Crispin <john@openwrt.org> | 2015-07-14 09:57:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-14 09:57:52 +0000 |
commit | 3eff7927ceeafb607500595de75dc46891aab3c6 (patch) | |
tree | 5f6792874d1c6503e4437ba71a426088d15732d6 /scripts | |
parent | 096b3759a98cdbbc710d8620e948eaa7ee2045ed (diff) | |
download | mtk-20170518-3eff7927ceeafb607500595de75dc46891aab3c6.zip mtk-20170518-3eff7927ceeafb607500595de75dc46891aab3c6.tar.gz mtk-20170518-3eff7927ceeafb607500595de75dc46891aab3c6.tar.bz2 |
scripts: fix 64bit uclibc external toolchain detection
according to gcc, UCLIBC_DYNAMIC_LINKER64
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46362
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 3ebaa21..a552fbe 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 |