From dd4d6ee1ff81c3bd6cde50c7a0747f17970dd71c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 21 Oct 2019 17:22:24 +0000 Subject: Fix gen-deps.sh for cross-builds --- tools/gen-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gen-deps.sh') 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" -- cgit 1.4.1