summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-10-21 17:22:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-10-21 17:22:16 +0000
commit9fa801d4cd47a5830fbd348df2a9747e51dacfcd (patch)
treef3b870d4b063311f0478a0dde4b17ae19f83fe65 /tools
parentc574c90d05a71b14727b5e7df91f10a70c6d5e1e (diff)
downloads6-dns-9fa801d4cd47a5830fbd348df2a9747e51dacfcd.tar.xz
Fix gen-deps.sh for cross-builds
Diffstat (limited to 'tools')
-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"