diff options
Diffstat (limited to 'avahi-client/Makefile.am')
-rw-r--r-- | avahi-client/Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/avahi-client/Makefile.am b/avahi-client/Makefile.am index 3a03392..f45f58d 100644 --- a/avahi-client/Makefile.am +++ b/avahi-client/Makefile.am @@ -35,7 +35,8 @@ noinst_PROGRAMS = \ client-test \ srv-test \ xdg-config-test \ - rr-test + rr-test \ + check-nss-test endif @@ -48,6 +49,7 @@ libavahi_client_la_SOURCES = \ resolver.c \ publish.h lookup.h \ xdg-config.c xdg-config.h \ + check-nss.c \ ../avahi-common/dbus.c ../avahi-common/dbus.h \ ../avahi-common/dbus-watch-glue.c ../avahi-common/dbus-watch-glue.h @@ -71,4 +73,13 @@ xdg_config_test_SOURCES = xdg-config-test.c xdg-config.c xdg-config.h xdg_config_test_CFLAGS = $(AM_CFLAGS) xdg_config_test_LDADD = $(AM_LDADD) +check_nss_test_SOURCES = check-nss.c check-nss-test.c client.h +check_nss_test_CFLAGS = $(AM_CFLAGS) +check_nss_test_LDADD = $(AM_LDADD) + +if HAVE_DLOPEN +check_nss_test_LDADD += -ldl +libavahi_client_la_LIBADD += -ldl +endif + endif |