summaryrefslogtreecommitdiff
path: root/package/xerces
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-02 11:56:03 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-02 11:56:03 +0100
commit764d844fbc20721b7be0c3b9328cbe130079a0ef (patch)
tree5930f4186d808dad24532a7703770d5c59a76011 /package/xerces
parent0eafc69b0aadba53a3784365532be530e28d2757 (diff)
xerces: add optional libcurl support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/xerces')
-rw-r--r--package/xerces/xerces.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/xerces/xerces.mk b/package/xerces/xerces.mk
index 9a2249943..ffd874bf0 100644
--- a/package/xerces/xerces.mk
+++ b/package/xerces/xerces.mk
@@ -10,7 +10,6 @@ XERCES_MAKE = $(MAKE1)
XERCES_INSTALL_STAGING = YES
XERCES_CONF_OPT = --enable-shared \
--disable-threads \
- --disable-network \
--with-gnu-ld
ifeq ($(BR2_PACKAGE_LIBICONV),y)
@@ -18,4 +17,11 @@ XERCES_CONF_ENV += LIBS=-liconv
XERCES_DEPENDENCIES += libiconv
endif
+ifeq ($(BR2_PACKAGE_LIBCURL),y)
+XERCES_CONF_OPT += --enable-netaccessor-curl
+XERCES_DEPENDENCIES += libcurl
+else
+XERCES_CONF_OPT += --disable-network
+endif
+
$(eval $(call AUTOTARGETS,package,xerces))