diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gen-deps.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh index 5c96dd1..4eb487e 100755 --- a/tools/gen-deps.sh +++ b/tools/gen-deps.sh @@ -59,7 +59,7 @@ 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 ^-l -e '^\${LIB.*}$' -e '^\${.*_LIB}$' ; then libs="$libs $dep" else deps="$deps src/$dir/$dep" @@ -77,7 +77,7 @@ for dir in $(ls -1 src | grep -v ^include) ; do if echo $dep | grep -q -- \\.o$ ; then dep="src/$dir/$dep" fi - if echo $dep | grep -q -- '^\${.*_LIB}' ; then + if echo $dep | grep -q -- '^\${.*_LIB}$' ; then libs="$libs $dep" else deps="$deps $dep" |