summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-11-23 15:35:05 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-11-27 21:00:44 -0500
commitd6ce77dbc2b4f5c91e3969726aac2a6b70bdea23 (patch)
treea2277182b5213b5362ae9d2a91c2f7e08449f090
parentb4a4417ca86d108657b52c41c028876f002a7be4 (diff)
nss-mymachines: link less
This reduces libraries reported by ldd by liblzma, liblz4, libgcrypt, libgpg-error, libacl, libidn, libseccomp.
-rw-r--r--Makefile.am2
-rw-r--r--src/nss-mymachines/nss-mymachines.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b920d47a8a..8763eb122e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4947,7 +4947,7 @@ libnss_mymachines_la_LDFLAGS = \
-Wl,--version-script=$(top_srcdir)/src/nss-mymachines/nss-mymachines.sym
libnss_mymachines_la_LIBADD = \
- libshared.la
+ libsystemd-internal.la
lib_LTLIBRARIES += \
libnss_mymachines.la
diff --git a/src/nss-mymachines/nss-mymachines.c b/src/nss-mymachines/nss-mymachines.c
index 40c8ad3a19..dcdbc31a78 100644
--- a/src/nss-mymachines/nss-mymachines.c
+++ b/src/nss-mymachines/nss-mymachines.c
@@ -27,7 +27,6 @@
#include "alloc-util.h"
#include "bus-common-errors.h"
-#include "bus-util.h"
#include "hostname-util.h"
#include "in-addr-util.h"
#include "macro.h"