]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
move mod_spidermonkey and mod_xml_curl to use new WANT_CURL to add curl to the module
authorMichael Jerris <mike@jerris.com>
Wed, 14 Mar 2007 19:37:07 +0000 (19:37 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 14 Mar 2007 19:37:07 +0000 (19:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4593 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_spidermonkey/Makefile
src/mod/xml_int/mod_xml_curl/Makefile

index a4975536e0422c6247d376b14bba5fbb10460580..e370f6398c5598d48cb3c0a461afd6d7bab050e7 100644 (file)
@@ -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:
index 69edb38e9a6c345a6827d5fb616105a81aecaaf7..2244e8c0c32e478c7c5ad770ea5da80496beac56 100644 (file)
@@ -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)