]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/Makefile.am
* add new API function avahi_nss_support()
[catta] / avahi-daemon / Makefile.am
index ffcfa584d54710218c5263a7e3fe18f148c81882..e1d64a4157a89b3387fa56cf56010a57d189e6f5 100644 (file)
@@ -100,12 +100,17 @@ avahi_daemon_SOURCES += \
        dbus-sync-host-name-resolver.c \
        dbus-sync-service-resolver.c \
        dbus-record-browser.c  \
-        ../avahi-common/dbus.c ../avahi-common/dbus.h \
-       ../avahi-common/dbus-watch-glue.c ../avahi-common/dbus-watch-glue.h
+       ../avahi-common/dbus.c ../avahi-common/dbus.h \
+       ../avahi-common/dbus-watch-glue.c ../avahi-common/dbus-watch-glue.h \
+       ../avahi-client/check-nss.c
 
 avahi_daemon_LDADD += \
        $(DBUS_LIBS)
 
+if HAVE_DLOPEN
+avahi_daemon_LDADD += -ldl
+endif
+
 avahi_daemon_CFLAGS += $(DBUS_CFLAGS)
 
 dbusservice_DATA = avahi-dbus.conf