summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-14 17:29:24 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-14 17:29:24 +0200
commit6777e2ad7282bb52076b92e130cba17cebb81b02 (patch)
tree134a43b024385fe2a897eef23316d5007e46f8c9 /Makefile.am
parent340a1d6feaa67b8cb5c5cfadcc8201925c93c182 (diff)
parente97379dea2a5b99648abd2d76fae108b369f4988 (diff)
Merge pull request #1562 from michich/overlinking
build: fix overlinking
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 336ba0afce..8ba4e0e389 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -919,7 +919,6 @@ libbasic_la_CFLAGS = \
libbasic_la_LIBADD = \
$(SELINUX_LIBS) \
$(CAP_LIBS) \
- -ldl \
-lrt \
-lm
@@ -5144,7 +5143,8 @@ libnss_resolve_la_LDFLAGS = \
-Wl,--version-script=$(top_srcdir)/src/nss-resolve/nss-resolve.sym
libnss_resolve_la_LIBADD = \
- libshared.la
+ libshared.la \
+ -ldl
lib_LTLIBRARIES += \
libnss_resolve.la