From d8260fdf4310e135f301d0b8296aeffa02f5f494 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 29 Oct 2005 10:38:21 +0000 Subject: [PATCH] fix avahi-browse build when gdbm is not available git-svn-id: file:///home/lennart/svn/public/avahi/trunk@906 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-utils/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am index d3a1f39..c38efbf 100644 --- a/avahi-utils/Makefile.am +++ b/avahi-utils/Makefile.am @@ -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 -- 2.39.5