diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-24 13:26:06 +0000 |
commit | 771a5c2ac0bde997004d9678c3d3750b1195b98d (patch) | |
tree | 25001da63f2a0e0d650da9b63ff1fbbc93d6cc3d /tools/gen-deps.sh | |
parent | d4f4ca8963018239daef4ecc81b0536ad52d449d (diff) | |
download | s6-linux-init-771a5c2ac0bde997004d9678c3d3750b1195b98d.tar.xz |
Fix stupid shared lib dependencies
Diffstat (limited to 'tools/gen-deps.sh')
-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" |