]> git.meshlink.io Git - catta/commitdiff
fix avahi-browse build when gdbm is not available
authorLennart Poettering <lennart@poettering.net>
Sat, 29 Oct 2005 10:38:21 +0000 (10:38 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 29 Oct 2005 10:38:21 +0000 (10:38 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@906 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/Makefile.am

index d3a1f392f674b213fbf3e8763ba43a40c1a37a63..c38efbfce715dfdf431c33c1372e598f6584ce10 100644 (file)
@@ -90,11 +90,12 @@ bin_PROGRAMS = avahi-browse
 
 avahi_browse_SOURCES = avahi-browse.c sigint.c sigint.h
 avahi_browse_CFLAGS = $(AM_CFLAGS)
-avahi_browse_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la -lgdbm
+avahi_browse_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
 
 if HAVE_GDBM
 avahi_browse_SOURCES += stdb.h stdb.c
 avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+avahi_browse_LDADD += -lgdbm
 endif
 
 endif