aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-10-26 10:48:05 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-10-26 10:48:05 +0000
commit1f0c6dc5e90b7c9ad439c9557ed704852a88df2a (patch)
tree649620e10802c5719297d2dbdf2cda9c8e8840b0 /tools
parente6cfcd16ee717dd802fda431a0f2cfada439cc1b (diff)
downloadbcnm-1f0c6dc5e90b7c9ad439c9557ed704852a88df2a.tar.gz
Update gen-deps.sh; prepare for 0.0.2.1
Diffstat (limited to 'tools')
-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