summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRobert Millan <rmh@debian.org>2011-06-15 16:49:24 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-15 16:49:56 +0200
commit1df2a0fce427fab7754f6ac572cf68cef2e95696 (patch)
tree3a4fcc5f1e9a3cad3d4c875564b48afed73ae926 /Makefile.am
parent87a477c74e2478e94e89e7026cf7207fcdc2dffc (diff)
Use legacy getifaddrs() on GNU/kFreeBSDHEADmaster
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7f2f3a3..f82b8d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,8 +43,13 @@ homepage: all dist
libnss_myhostname_la_SOURCES = \
nss-myhostname.c \
- netlink.c \
- netlink.h
+ ifconf.h
+
+if LEGACY
+libnss_myhostname_la_SOURCES += legacy.c
+else
+libnss_myhostname_la_SOURCES += netlink.c
+endif
libnss_myhostname_la_LDFLAGS = \
-avoid-version \