diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:21:54 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:21:54 +0000 |
commit | cc74d3000e81af2533c386b7f55912f2e60e5a99 (patch) | |
tree | 60e0313c0460a2fc2ce5dc509a699bfc8d289f61 | |
parent | 4462286bbe3b5be82504e3e5abfb109f6eab1d85 (diff) | |
download | bcnm-cc74d3000e81af2533c386b7f55912f2e60e5a99.tar.gz bcnm-cc74d3000e81af2533c386b7f55912f2e60e5a99.tar.xz bcnm-cc74d3000e81af2533c386b7f55912f2e60e5a99.zip |
Fix gen-deps.sh for cross-builds
-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" |