|
@@ -2,8 +2,10 @@ config BR2_PACKAGE_LIBMODSECURITY
|
|
|
bool "libmodsecurity"
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
- # libmodsecurity embeds several mbedtls source files
|
|
|
- depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_LIBCURL_MBEDTLS)
|
|
|
+ # libmodsecurity embeds several mbedtls source files, causing
|
|
|
+ # various issues when static linking and other dependencies of
|
|
|
+ # libmodsecurity in turn use mbedtls
|
|
|
+ depends on !BR2_STATIC_LIBS
|
|
|
select BR2_PACKAGE_PCRE
|
|
|
help
|
|
|
Libmodsecurity is one component of the ModSecurity
|
|
@@ -17,8 +19,6 @@ config BR2_PACKAGE_LIBMODSECURITY
|
|
|
|
|
|
https://github.com/SpiderLabs/ModSecurity
|
|
|
|
|
|
-comment "libmodsecurity needs a toolchain w/ C++, threads"
|
|
|
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
-
|
|
|
-comment "libmodsecurity needs a toolchain w/ dynamic library"
|
|
|
- depends on BR2_STATIC_LIBS && BR2_PACKAGE_LIBCURL_MBEDTLS
|
|
|
+comment "libmodsecurity needs a toolchain w/ C++, threads, dynamic library"
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
+ !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|