From a336f7b941a555b457c83756e4e4a3161c352e1e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 24 Oct 2016 13:26:11 +0000 Subject: Fix stupid shared lib dependencies --- tools/gen-deps.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/gen-deps.sh') 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" -- cgit v1.2.3