summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-08-01 21:24:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-08-01 21:24:22 +0000
commitca9064f07c2d1dd73abdd83cf179231e066a6de2 (patch)
tree9082e5792adf3535361ee5d24ff3f799de3dd0ab
parent76fe70d1aec506cd77a159e889c2ab34efc1d8aa (diff)
downloadutmps-ca9064f07c2d1dd73abdd83cf179231e066a6de2.tar.xz
utmps-wtmpd can depend on libnsss too
-rw-r--r--package/deps.mak4
-rw-r--r--src/utmps/deps-exe/utmps-wtmpd2
2 files changed, 4 insertions, 2 deletions
diff --git a/package/deps.mak b/package/deps.mak
index 9ec3964..0d57ffb 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -38,5 +38,5 @@ libutmps.so.xyzzy: EXTRA_LIBS := -lskarnet
libutmps.so.xyzzy: src/utmps/endutxent.lo src/utmps/getutxent.lo src/utmps/getutxid.lo src/utmps/getutxline.lo src/utmps/logwtmp.lo src/utmps/pututxline.lo src/utmps/setutxent.lo src/utmps/updwtmpx.lo src/utmps/utmpxname.lo src/utmps/utmps_end.lo src/utmps/utmps_getent.lo src/utmps/utmps_getid.lo src/utmps/utmps_getline.lo src/utmps/utmps_here.lo src/utmps/utmps_here_maybe_init.lo src/utmps/utmps_putline.lo src/utmps/utmps_rewind.lo src/utmps/utmps_start.lo src/utmps/utmps_updwtmpx.lo src/utmps/utmps_utmpx_pack.lo src/utmps/utmps_utmpx_unpack.lo
utmps-utmpd: EXTRA_LIBS := ${MAYBEPTHREAD_LIB}
utmps-utmpd: src/utmps/utmps-utmpd.o libutmps.a.xyzzy ${LIBNSSS} -lskarnet
-utmps-wtmpd: EXTRA_LIBS :=
-utmps-wtmpd: src/utmps/utmps-wtmpd.o libutmps.a.xyzzy -lskarnet
+utmps-wtmpd: EXTRA_LIBS := ${MAYBEPTHREAD_LIB}
+utmps-wtmpd: src/utmps/utmps-wtmpd.o libutmps.a.xyzzy ${LIBNSSS} -lskarnet
diff --git a/src/utmps/deps-exe/utmps-wtmpd b/src/utmps/deps-exe/utmps-wtmpd
index 60d8fd7..4abb735 100644
--- a/src/utmps/deps-exe/utmps-wtmpd
+++ b/src/utmps/deps-exe/utmps-wtmpd
@@ -1,2 +1,4 @@
libutmps.a.xyzzy
+${LIBNSSS}
-lskarnet
+${MAYBEPTHREAD_LIB}