diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:09 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-21 17:22:09 +0000 |
| commit | 1b4cc3aaed959fdf8e873c2aa59f9d034da54225 (patch) | |
| tree | d9e65122d797606fa5130f917c010e0b6cb68c9d /tools | |
| parent | 24cc47f3757ae72b1ce57f37f4801edf057e0c65 (diff) | |
| download | pamela-1b4cc3aaed959fdf8e873c2aa59f9d034da54225.tar.gz | |
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" |
