summaryrefslogtreecommitdiff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-10-24 13:26:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-10-24 13:26:11 +0000
commita336f7b941a555b457c83756e4e4a3161c352e1e (patch)
tree74c58a267a87205ab0d119c282eaa394c3aadd28 /tools/gen-deps.sh
parent00ebd113f4dd68a723fe57c495cfa15168461a52 (diff)
downloads6-networking-a336f7b941a555b457c83756e4e4a3161c352e1e.tar.xz
Fix stupid shared lib dependencies
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh3
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"