aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-03-17 22:14:57 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-04-06 18:16:55 +0200
commita19efcf4edc11dce29258487a117007c5e99b598 (patch)
tree8c6829f2d00a0f904b1acb3709da25fcf32bf691
parentd229de8e446b38d1eb26ccac6994e05636f56048 (diff)
downloadbuildroot-a19efcf4edc11dce29258487a117007c5e99b598.tar.gz
buildroot-a19efcf4edc11dce29258487a117007c5e99b598.tar.bz2
package/civetweb: add zlib optional dependency
zlib is an optional dependency since version 1.11 and https://github.com/civetweb/civetweb/commit/6b8b15935378f71323ff95f907fa0d33841deac0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 41dfe5707cc7704d74604879035882b01f349ce8) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-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