diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:09 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:09 +0000 |
commit | a125a179f19f500ec26127b05a4282a32738ea40 (patch) | |
tree | b9e14076d2dabf466756059b961f3ca3d635bdf4 | |
parent | 66013f520e9b8d3588e4b530e8e2ee0004d6246d (diff) | |
download | s6-linux-utils-a125a179f19f500ec26127b05a4282a32738ea40.tar.gz s6-linux-utils-a125a179f19f500ec26127b05a4282a32738ea40.tar.xz s6-linux-utils-a125a179f19f500ec26127b05a4282a32738ea40.zip |
Fix stupid shared lib dependencies
-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" |