diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:38 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:38 +0000 |
| commit | d24793b2f8b4928c1a649738ae5dbd00c252669d (patch) | |
| tree | 7bef94a905a81db5f796f1cfd56355ebfb2f2d97 /tools | |
| parent | 96aef400b9f9d14f3bf54b0e444e9ad3665c4107 (diff) | |
| download | mdevd-d24793b2f8b4928c1a649738ae5dbd00c252669d.tar.gz | |
fix gen-deps.sh
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/gen-deps.sh | 4 |
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 |
