summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-03-01 23:51:22 +0000
committerLennart Poettering <lennart@poettering.net>2006-03-01 23:51:22 +0000
commit928fae5687f947f0f1eadb994ef29a39d09bbf7c (patch)
treedda7e8eb516bdf489f6175743a4cfb1a7e8379bd
parentfe40907214fe04a660bbb7f25b29a191d4f5322f (diff)
fix compilation if DBUS is disabled (closes: #15)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1165 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-daemon/Makefile.am8
1 files 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