mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/cppcms: libgcrypt is optional, not mandatory
If libgcrypt (or openssl) is not enabled, aes_encryptor is disabled
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 32045a73a3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
4b191c4e8b
commit
defafdf3f8
@@ -1,12 +1,10 @@
|
|||||||
config BR2_PACKAGE_CPPCMS
|
config BR2_PACKAGE_CPPCMS
|
||||||
bool "cppcms"
|
bool "cppcms"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||||
depends on !BR2_STATIC_LIBS # dlopen()
|
depends on !BR2_STATIC_LIBS # dlopen()
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
select BR2_PACKAGE_PCRE
|
select BR2_PACKAGE_PCRE
|
||||||
select BR2_PACKAGE_LIBGCRYPT
|
|
||||||
help
|
help
|
||||||
CppCMS is a Free High Performance Web Development Framework
|
CppCMS is a Free High Performance Web Development Framework
|
||||||
(not a CMS) aimed for Rapid Web Application Development. It
|
(not a CMS) aimed for Rapid Web Application Development. It
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ CPPCMS_CONF_OPTS = \
|
|||||||
-DCMAKE_SKIP_RPATH=ON \
|
-DCMAKE_SKIP_RPATH=ON \
|
||||||
-DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)"
|
-DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)"
|
||||||
|
|
||||||
CPPCMS_DEPENDENCIES = pcre libgcrypt
|
CPPCMS_DEPENDENCIES = pcre
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y)
|
ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y)
|
||||||
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF
|
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF
|
||||||
@@ -28,6 +28,13 @@ else
|
|||||||
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON
|
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||||
|
CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF
|
||||||
|
CPPCMS_DEPENDENCIES += libgcrypt
|
||||||
|
else
|
||||||
|
CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF
|
CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF
|
||||||
CPPCMS_DEPENDENCIES += zlib
|
CPPCMS_DEPENDENCIES += zlib
|
||||||
|
|||||||
Reference in New Issue
Block a user