summaryrefslogtreecommitdiff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-10-21 17:22:20 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-10-21 17:22:20 +0000
commit307a92ab3dbdc5bd85f34e6262d358cf995b7ed3 (patch)
tree68d7c3486653b3a7e3f51a3c55a562a566a13558 /tools/gen-deps.sh
parenta1cda6a6270ed65a1a52b31c09b7374334de9c3c (diff)
downloads6-linux-init-307a92ab3dbdc5bd85f34e6262d358cf995b7ed3.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 c6d6971..cff90ad 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -87,7 +87,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"