From: Raymond Chandler Date: Fri, 2 Apr 2010 00:19:02 +0000 (+0000) Subject: fix mod_enum build when udns is already on the base system X-Git-Tag: v1.0.5.597675e~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0692630b1b538baa1f9774eacd17efe83bc05ce;p=thirdparty%2Ffreeswitch.git fix mod_enum build when udns is already on the base system --- diff --git a/src/mod/applications/mod_enum/Makefile.am b/src/mod/applications/mod_enum/Makefile.am index 65199901d0..c512f7691d 100644 --- a/src/mod/applications/mod_enum/Makefile.am +++ b/src/mod/applications/mod_enum/Makefile.am @@ -2,13 +2,12 @@ include $(top_srcdir)/build/modmake.rulesam MODNAME=mod_enum UDNS_DIR=$(switch_srcdir)/libs/udns -AM_CFLAGS += -I$(UDNS_DIR) -DHAVE_POLL +mod_enum_la_CFLAGS = -I$(UDNS_DIR) -DHAVE_POLL $(AM_CFLAGS) mod_LTLIBRARIES = mod_enum.la mod_enum_la_SOURCES = mod_enum.c mod_enum_la_SOURCES += $(UDNS_DIR)/udns_dn.c $(UDNS_DIR)/udns_dntosp.c $(UDNS_DIR)/udns_parse.c $(UDNS_DIR)/udns_misc.c mod_enum_la_SOURCES += $(UDNS_DIR)/udns_rr_a.c $(UDNS_DIR)/udns_rr_ptr.c $(UDNS_DIR)/udns_rr_mx.c $(UDNS_DIR)/udns_rr_txt.c $(UDNS_DIR)/udns_bl.c mod_enum_la_SOURCES += $(UDNS_DIR)/udns_rr_srv.c $(UDNS_DIR)/udns_rr_naptr.c $(UDNS_DIR)/udns_codes.c $(UDNS_DIR)/udns_resolver.c -mod_enum_la_CFLAGS = $(AM_CFLAGS) mod_enum_la_LIBADD = $(switch_builddir)/libfreeswitch.la mod_enum_la_LDFLAGS = -avoid-version -module -no-undefined -shared