summaryrefslogtreecommitdiff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-10-21 17:22:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-10-21 17:22:42 +0000
commit83e2c1743a3cf4ada2cd10a556ebadbe1bef0699 (patch)
treea1a6f3282eb2212feeb0442b48ad1c1b5eaf4791 /tools/gen-deps.sh
parentfc6a213a41a3e9ad2e04577262cb0c39f189dd5c (diff)
downloadutmps-83e2c1743a3cf4ada2cd10a556ebadbe1bef0699.tar.xz
Fix gen-deps.sh for cross-builds
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index 6383ac2..27e5b3e 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -81,7 +81,7 @@ for dir in $(ls -1 src | grep -v ^include) ; do
if echo $dep | grep -q -- \\.o$ ; then
dep="src/$dir/$dep"
fi
- if echo $dep | grep -q -- '^\${.*_LIB}' ; then
+ if echo $dep | grep -q -e ^-l -e '^\${.*_LIB}' ; then
libs="$libs $dep"
else
deps="$deps $dep"