diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:03 +0000 |
commit | c4f60d1821fe68e38f30b66c19fed843e652c656 (patch) | |
tree | 536f2109463dcd707d3d19e415eb281110a27a13 /tools | |
parent | ea4d92f2f9b575c647adf34d2ce7b2325f04aebd (diff) | |
download | s6-dns-c4f60d1821fe68e38f30b66c19fed843e652c656.tar.xz |
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" |