summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-16 03:31:30 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-16 03:31:30 +0200
commit4d1cf1e229c9bdbc44778c0863eaad918f5724e7 (patch)
tree6116f8c6e08444742d71663b4d1f1c3c42cccd06 /Makefile.am
parent555bd6e95bf2b469306d9cd86e126c0122d0895b (diff)
resolved: add small NSS module that uses resolved to resolve DNS names
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ee7066ec27..34289fbfce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4605,6 +4605,26 @@ test_dns_domain_LDADD = \
libsystemd-internal.la \
libsystemd-shared.la
+libnss_resolve_la_SOURCES = \
+ src/nss-resolve/nss-resolve.sym \
+ src/nss-resolve/nss-resolve.c
+
+libnss_resolve_la_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ -module \
+ -export-dynamic \
+ -avoid-version \
+ -shared \
+ -shrext .so.2 \
+ -Wl,--version-script=$(top_srcdir)/src/nss-resolve/nss-resolve.sym
+
+libnss_resolve_la_LIBADD = \
+ libsystemd-shared.la \
+ libsystemd-internal.la
+
+lib_LTLIBRARIES += \
+ libnss_resolve.la
+
endif
# ------------------------------------------------------------------------------