summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-03-24 12:27:20 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-03-24 12:27:20 +0000
commit82e33dd5f3420f7b58ef2cd7feefd8b3c74b9b10 (patch)
treeb47c782cc656849a1842323844693a464e417660
parent4df09797df69a67e61d4e3f499e8647c0ab2139d (diff)
downloads6-82e33dd5f3420f7b58ef2cd7feefd8b3c74b9b10.tar.xz
Treat execline as an extra_lib instead of an in-package lib
-rw-r--r--AUTHORS1
-rwxr-xr-xconfigure4
-rw-r--r--package/deps.mak8
-rw-r--r--src/pipe-tools/deps-exe/s6-ftrig-listen2
-rw-r--r--src/supervision/deps-exe/s6-svlisten2
5 files changed, 9 insertions, 8 deletions
diff --git a/AUTHORS b/AUTHORS
index bb02b38..e619bcb 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -34,3 +34,4 @@ Thanks to:
Jonathan de Boyne Pollard <J.deBoynePollard@NTLWorld.com>
Luis Ressel <aranea@aixah.de>
Eric Vidal <eric@obarun.org>
+ Jens Rehsack <rehsack@gmail.com>
diff --git a/configure b/configure
index 7838b5b..d80c4e0 100755
--- a/configure
+++ b/configure
@@ -453,9 +453,9 @@ else
echo "MAYBEPTHREAD_LIB :="
fi
if $useexecline ; then
- echo "LIBEXECLINE := -lexecline"
+ echo "EXECLINE_LIB := -lexecline"
else
- echo "LIBEXECLINE :="
+ echo "EXECLINE_LIB :="
fi
exec 1>&3 3>&-
diff --git a/package/deps.mak b/package/deps.mak
index be31d08..9d61497 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -218,8 +218,8 @@ s6lockd-helper: EXTRA_LIBS := -lskarnet
s6lockd-helper: src/libs6/s6lockd-helper.o
s6-cleanfifodir: EXTRA_LIBS := -lskarnet
s6-cleanfifodir: src/pipe-tools/s6-cleanfifodir.o ${LIBS6}
-s6-ftrig-listen: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} ${SPAWN_LIB}
-s6-ftrig-listen: src/pipe-tools/s6-ftrig-listen.o ${LIBS6} ${LIBEXECLINE}
+s6-ftrig-listen: EXTRA_LIBS := ${EXECLINE_LIB} -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} ${SPAWN_LIB}
+s6-ftrig-listen: src/pipe-tools/s6-ftrig-listen.o ${LIBS6}
s6-ftrig-listen1: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} ${SPAWN_LIB}
s6-ftrig-listen1: src/pipe-tools/s6-ftrig-listen1.o ${LIBS6}
s6-ftrig-notify: EXTRA_LIBS := -lskarnet
@@ -240,8 +240,8 @@ s6-svdt: EXTRA_LIBS := -lskarnet
s6-svdt: src/supervision/s6-svdt.o ${LIBS6}
s6-svdt-clear: EXTRA_LIBS := -lskarnet
s6-svdt-clear: src/supervision/s6-svdt-clear.o ${LIBS6}
-s6-svlisten: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} ${SPAWN_LIB}
-s6-svlisten: src/supervision/s6-svlisten.o src/supervision/s6_svlisten_signal_handler.o src/supervision/s6_svlisten_loop.o ${LIBS6} ${LIBEXECLINE}
+s6-svlisten: EXTRA_LIBS := ${EXECLINE_LIB} -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} ${SPAWN_LIB}
+s6-svlisten: src/supervision/s6-svlisten.o src/supervision/s6_svlisten_signal_handler.o src/supervision/s6_svlisten_loop.o ${LIBS6}
s6-svlisten1: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} ${SPAWN_LIB}
s6-svlisten1: src/supervision/s6-svlisten1.o src/supervision/s6_svlisten_signal_handler.o src/supervision/s6_svlisten_loop.o ${LIBS6}
s6-svok: EXTRA_LIBS := -lskarnet
diff --git a/src/pipe-tools/deps-exe/s6-ftrig-listen b/src/pipe-tools/deps-exe/s6-ftrig-listen
index 2d6e6d4..4920473 100644
--- a/src/pipe-tools/deps-exe/s6-ftrig-listen
+++ b/src/pipe-tools/deps-exe/s6-ftrig-listen
@@ -1,5 +1,5 @@
${LIBS6}
-${LIBEXECLINE}
+${EXECLINE_LIB}
-lskarnet
${SOCKET_LIB}
${SYSCLOCK_LIB}
diff --git a/src/supervision/deps-exe/s6-svlisten b/src/supervision/deps-exe/s6-svlisten
index a7bbbfa..0f632fc 100644
--- a/src/supervision/deps-exe/s6-svlisten
+++ b/src/supervision/deps-exe/s6-svlisten
@@ -1,7 +1,7 @@
s6_svlisten_signal_handler.o
s6_svlisten_loop.o
${LIBS6}
-${LIBEXECLINE}
+${EXECLINE_LIB}
-lskarnet
${SOCKET_LIB}
${SYSCLOCK_LIB}