projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts: fix 64bit uclibc external toolchain detection
[openwrt.git]
/
scripts
/
ext-toolchain.sh
diff --git
a/scripts/ext-toolchain.sh
b/scripts/ext-toolchain.sh
index
3ebaa21
..
a552fbe
100755
(executable)
--- 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
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
if [ -f "$lib" ] && [ ! -h "$lib" ]; then
return 0
fi