From 928fae5687f947f0f1eadb994ef29a39d09bbf7c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 1 Mar 2006 23:51:22 +0000 Subject: [PATCH] fix compilation if DBUS is disabled (closes: #15) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1165 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 3fa4280..15cbb57 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -85,6 +85,10 @@ avahi_daemon_LDADD += -lcap endif +if HAVE_DLOPEN +avahi_daemon_LDADD += -ldl +endif + if HAVE_DBUS dbusservicedir=$(DBUS_SYS_DIR) @@ -110,10 +114,6 @@ avahi_daemon_SOURCES += \ avahi_daemon_LDADD += \ $(DBUS_LIBS) -if HAVE_DLOPEN -avahi_daemon_LDADD += -ldl -endif - avahi_daemon_CFLAGS += $(DBUS_CFLAGS) dbusservice_DATA = avahi-dbus.conf -- 2.39.5