From ca9064f07c2d1dd73abdd83cf179231e066a6de2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 1 Aug 2018 21:24:22 +0000 Subject: utmps-wtmpd can depend on libnsss too --- package/deps.mak | 4 ++-- src/utmps/deps-exe/utmps-wtmpd | 2 ++ 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} -- cgit v1.2.3