about summary refs log tree commit diff
diff options
context:
space:
mode:
-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}