X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-daemon%2FMakefile.am;h=e1d64a4157a89b3387fa56cf56010a57d189e6f5;hb=e614891d38cae63957d0bfc00d34ecdbad4f8322;hp=246bd900bed6ff3eba728eb91c64c046a0a06a2e;hpb=ef51c776fa80e67b84e2a6d48829f9040ac76c20;p=catta diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 246bd90..e1d64a4 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -28,7 +28,6 @@ if HAVE_EXPAT pkgsysconfdir=$(sysconfdir)/avahi servicedir=$(pkgsysconfdir)/services introspectiondir=$(pkgdatadir)/introspection -dbusservicedir=$(DBUS_SYS_DIR) AM_CFLAGS+= \ -DAVAHI_DAEMON_RUNTIME_DIR=\"$(avahi_runtime_dir)/avahi-daemon/\" \ @@ -84,6 +83,8 @@ endif if HAVE_DBUS +dbusservicedir=$(DBUS_SYS_DIR) + avahi_daemon_SOURCES += \ dbus-protocol.c dbus-protocol.h \ dbus-util.c dbus-util.h \ @@ -99,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