diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:12 +0000 |
commit | 2f1a66fe8271bad5cba38e215b8e568539534511 (patch) | |
tree | 5ee543cfd27cd9906810ab2c113009d81dae24b5 /tools/gen-deps.sh | |
parent | 306ac5b706a1e80f7832613783df1436671ae792 (diff) | |
download | s6-2f1a66fe8271bad5cba38e215b8e568539534511.tar.xz |
Fix gen-deps.sh for cross-builds
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-x | tools/gen-deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh index 6383ac2..27e5b3e 100755 --- a/tools/gen-deps.sh +++ b/tools/gen-deps.sh @@ -81,7 +81,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 -e ^-l -e '^\${.*_LIB}' ; then libs="$libs $dep" else deps="$deps $dep" |