diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:20 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:20 +0000 |
commit | 307a92ab3dbdc5bd85f34e6262d358cf995b7ed3 (patch) | |
tree | 68d7c3486653b3a7e3f51a3c55a562a566a13558 /tools | |
parent | a1cda6a6270ed65a1a52b31c09b7374334de9c3c (diff) | |
download | s6-linux-init-307a92ab3dbdc5bd85f34e6262d358cf995b7ed3.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 c6d6971..cff90ad 100755 --- a/tools/gen-deps.sh +++ b/tools/gen-deps.sh @@ -87,7 +87,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" |