package/cppcms: zlib is optional, not mandatory
zlib is not mandatory since at least version 1.0.5 and
fc1c25f9c7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
c49b46e9cc
commit
f413bf2c64
@ -5,7 +5,6 @@ config BR2_PACKAGE_CPPCMS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PCRE
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
help
|
||||
|
@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)"
|
||||
|
||||
CPPCMS_DEPENDENCIES = zlib pcre libgcrypt
|
||||
CPPCMS_DEPENDENCIES = pcre libgcrypt
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y)
|
||||
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF
|
||||
@ -28,6 +28,13 @@ else
|
||||
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF
|
||||
CPPCMS_DEPENDENCIES += zlib
|
||||
else
|
||||
CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
# posix backend needs monetary.h which isn't available on uClibc
|
||||
CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on
|
||||
|
Loading…
Reference in New Issue
Block a user