aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-10-26 10:50:47 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-10-26 10:50:47 +0000
commitb1ac2b7a963bf9349ad9a8a63982802dccb08368 (patch)
treec6ca7e06702f5d9a1ec78b7e199f4b3546639c23 /tools/gen-deps.sh
parent5c69112b242adcd2548affe6d9f2a5b3ca91ebf9 (diff)
downloaddnsfunnel-b1ac2b7a963bf9349ad9a8a63982802dccb08368.tar.gz
fix gen-deps.sh
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index aa84388..134484b 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -61,10 +61,8 @@ for dir in $(ls -1 src | grep -v ^include) ; do
deps=
libs=
while read dep ; do
- if echo $dep | grep -q -e '^-l' -e '^\${.*_LIB}' ; then
+ if echo $dep | grep -q -e '^\${LIB' -e '^-l' -e '^\${.*_LIB}' ; then
libs="$libs $dep"
- elif echo $dep | grep -q '^\${LIB' ; then
- deps="$deps $dep"
else
deps="$deps src/$dir/$dep"
fi