diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:36 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:36 +0000 |
| commit | b26dea17f4ea99a0dd510561daa48da5c564c39f (patch) | |
| tree | 054d1896c1b828aca1b6a11dd9a397f9c2571d4c | |
| parent | 12b40106ed1727274cd6af379c4ba0ca7161700b (diff) | |
| download | s6-networking-b26dea17f4ea99a0dd510561daa48da5c564c39f.tar.gz | |
fix gen-deps.sh
| -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 |
