diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:14 +0000 |
commit | ace5d0396888e4c48b50d4e617d37db590c0272b (patch) | |
tree | 9a8a8ec07fe7fdc402e7b37b13a991fcbe8a047b /tools | |
parent | 4481d1442470424f2f7ba9fe7d250c5b2af937d7 (diff) | |
download | s6-portable-utils-ace5d0396888e4c48b50d4e617d37db590c0272b.tar.gz s6-portable-utils-ace5d0396888e4c48b50d4e617d37db590c0272b.tar.xz s6-portable-utils-ace5d0396888e4c48b50d4e617d37db590c0272b.zip |
Fix stupid shared lib dependencies
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gen-deps.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh index 5c96dd1..2810ccc 100755 --- a/tools/gen-deps.sh +++ b/tools/gen-deps.sh @@ -60,6 +60,9 @@ for dir in $(ls -1 src | grep -v ^include) ; do libs= while read dep ; do if echo $dep | grep -q -e ^-l -e '^\${.*_LIB}' ; then + if test $dep = '-lskarnet' ; then + dep='-lskarnet ${SPAWN_LIB} ${SOCKET_LIB} ${SYSCLOCK_LIB} ${TAINNOW_LIB} ${TIMER_LIB} ${UTIL_LIB}' + fi libs="$libs $dep" else deps="$deps src/$dir/$dep" |