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)