projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts/package-metadata.pl: fix handling of virtual (PROVIDES) depends
[openwrt/openwrt.git]
/
scripts
/
ext-toolchain.sh
diff --git
a/scripts/ext-toolchain.sh
b/scripts/ext-toolchain.sh
index 3ebaa214879e248facf5b69ac75497b51580a5f5..09390c5e0d51f5195f776507593a29a48d77c614 100755
(executable)
--- a/
scripts/ext-toolchain.sh
+++ b/
scripts/ext-toolchain.sh
@@
-3,7
+3,7
@@
# Script for various external toolchain tasks, refer to
# the --help output for more information.
#
# Script for various external toolchain tasks, refer to
# the --help output for more information.
#
-# Copyright (C) 2012 Jo-Philipp Wich <jo
w@openwrt.org
>
+# Copyright (C) 2012 Jo-Philipp Wich <jo
@mein.io
>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-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