diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:35 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:35 +0000 |
commit | b71cd7147c4eaf4d7bf20cd415d1a00eb6a9b153 (patch) | |
tree | 4a1dace9e5c034799e9b11c551bd9ce131f7bcff /tools | |
parent | f00194004e1cd7a91500a8e1f8c870a11e3f6088 (diff) | |
download | s6-rc-b71cd7147c4eaf4d7bf20cd415d1a00eb6a9b153.tar.xz |
Fix gen-deps.sh for cross-builds
Diffstat (limited to 'tools')
-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" |