X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=scripts%2Fext-toolchain.sh;h=a552fbe3fcce3dfff791cc1ce65fdd8e70ace1aa;hb=5c15118be3f7fc8c995004161ea55b11579f2031;hp=3ebaa214879e248facf5b69ac75497b51580a5f5;hpb=9548b6b2fa8a5cb06d7bc1a71d0d1eb150632c7f;p=openwrt%2Fsvn-archive%2Farchive.git 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