Skip to content
Snippets Groups Projects
Commit 86e37015 authored by blogic's avatar blogic
Browse files

scripts: fix 64bit uclibc external toolchain detection


according to gcc, UCLIBC_DYNAMIC_LINKER64

Signed-off-by: default avatarDirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46362 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent ce847d29
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment