From: Michael Jerris Date: Wed, 14 Mar 2007 19:37:07 +0000 (+0000) Subject: move mod_spidermonkey and mod_xml_curl to use new WANT_CURL to add curl to the module X-Git-Tag: v1.0-beta1~827 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c03e917282e739038b0f4039448edbbfe6aed87a;p=thirdparty%2Ffreeswitch.git move mod_spidermonkey and mod_xml_curl to use new WANT_CURL to add curl to the module git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4593 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/languages/mod_spidermonkey/Makefile b/src/mod/languages/mod_spidermonkey/Makefile index a4975536e0..e370f6398c 100644 --- a/src/mod/languages/mod_spidermonkey/Makefile +++ b/src/mod/languages/mod_spidermonkey/Makefile @@ -1,8 +1,6 @@ MODNAME=mod_spidermonkey include sm.mak -LOCAL_CFLAGS += -I$(BASE)/libs/curl/include -LOCAL_LDFLAGS += $(BASE)/libs/curl/lib/libcurl.la - +WANT_CURL=yes include ../../../../build/modmake.rules local_depend: diff --git a/src/mod/xml_int/mod_xml_curl/Makefile b/src/mod/xml_int/mod_xml_curl/Makefile index 69edb38e9a..2244e8c0c3 100644 --- a/src/mod/xml_int/mod_xml_curl/Makefile +++ b/src/mod/xml_int/mod_xml_curl/Makefile @@ -3,10 +3,5 @@ # and define these variables to impact your build MODNAME=mod_xml_curl -LOCAL_CFLAGS=-I$(BASE)/libs/curl/include -LOCAL_LDFLAGS=$(BASE)/libs/curl/lib/libcurl.la -LOCAL_OBJS= +WANT_CURL=yes include ../../../../build/modmake.rules - -local_depend: - cd $(BASE)/libs/curl && $(MAKE)