From c03e917282e739038b0f4039448edbbfe6aed87a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 14 Mar 2007 19:37:07 +0000 Subject: [PATCH] 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 --- src/mod/languages/mod_spidermonkey/Makefile | 4 +--- src/mod/xml_int/mod_xml_curl/Makefile | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) 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)