]> git.meshlink.io Git - catta/commitdiff
fix compilation if DBUS is disabled (closes: #15)
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2006 23:51:22 +0000 (23:51 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2006 23:51:22 +0000 (23:51 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1165 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/Makefile.am

index 3fa4280a66e78dac84622a7ec78fa53873b02747..15cbb575cfe5366318b7508e82cd30f9d9d68d5c 100644 (file)
@@ -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