summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/neon/Config.in7
-rw-r--r--package/neon/neon.mk6
2 files changed, 13 insertions, 0 deletions
diff --git a/package/neon/Config.in b/package/neon/Config.in
index 1ffb61a35..e9050742b 100644
--- a/package/neon/Config.in
+++ b/package/neon/Config.in
@@ -6,6 +6,13 @@ config BR2_PACKAGE_NEON
http://www.webdav.org/neon/
+config BR2_PACKAGE_NEON_ZLIB
+ bool "ZLIB support"
+ depends on BR2_PACKAGE_NEON
+ select BR2_PACKAGE_ZLIB
+ help
+ build with ZLIB support
+
choice
prompt "XML Support"
default BR2_PACKAGE_NEON_NOXML
diff --git a/package/neon/neon.mk b/package/neon/neon.mk
index e92e134b6..61cf7527e 100644
--- a/package/neon/neon.mk
+++ b/package/neon/neon.mk
@@ -16,6 +16,12 @@ NEON_CONF_OPT+=--with-libxml2=yes
NEON_CONF_OPT+=--with-expat=no
NEON_DEPENDENCIES+=libxml2
endif
+ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
+NEON_CONF_OPT+=--with-zlib=$(STAGING_DIR)
+NEON_DEPENDENCIES+=zlib
+else
+NEON_CONF_OPT+=--without-zlib
+endif
ifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
NEON_CONF_OPT+=--with-expat=$(STAGING_DIR)/usr/lib/libexpat.la
NEON_CONF_OPT+=--with-libxml2=no