aboutsummaryrefslogtreecommitdiff
path: root/package/civetweb/civetweb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/civetweb/civetweb.mk')
-rw-r--r--package/civetweb/civetweb.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index 1652239ebb..69a377d723 100644
--- a/package/civetweb/civetweb.mk
+++ b/package/civetweb/civetweb.mk
@@ -38,6 +38,12 @@ else
CIVETWEB_COPT += -DNO_SSL
endif
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+CIVETWEB_CONF_OPTS += WITH_ZLIB=1
+CIVETWEB_LIBS += -lz
+CIVETWEB_DEPENDENCIES += zlib
+endif
+
ifeq ($(BR2_PACKAGE_CIVETWEB_SERVER),y)
CIVETWEB_BUILD_TARGETS += build
CIVETWEB_INSTALL_TARGETS += install