diff options
author | Robert Millan <rmh@debian.org> | 2011-06-15 16:49:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-15 16:49:56 +0200 |
commit | 1df2a0fce427fab7754f6ac572cf68cef2e95696 (patch) | |
tree | 3a4fcc5f1e9a3cad3d4c875564b48afed73ae926 /Makefile.am | |
parent | 87a477c74e2478e94e89e7026cf7207fcdc2dffc (diff) |
Use legacy getifaddrs() on GNU/kFreeBSD
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 7f2f3a39c0..f82b8d46e2 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 \ |