diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:20 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:20 +0000 |
| commit | ad9f96bb0a54894a95818e033b90ee7dd0543ccc (patch) | |
| tree | 749e7df75f6b344734c7549676af8584d7aa3bed | |
| parent | 0e2b131d3890bfa012fa5cb613dd38153e5d21e0 (diff) | |
| download | utmps-ad9f96bb0a54894a95818e033b90ee7dd0543ccc.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 |
