|
@@ -3,6 +3,7 @@ config BR2_PACKAGE_NGINX_MODSECURITY
|
|
|
depends on BR2_PACKAGE_NGINX_HTTP
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity
|
|
|
depends on !BR2_STATIC_LIBS # libmodsecurity
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity
|
|
|
select BR2_PACKAGE_PCRE # libmodsecurity
|
|
|
select BR2_PACKAGE_LIBMODSECURITY
|
|
|
help
|
|
@@ -12,6 +13,7 @@ config BR2_PACKAGE_NGINX_MODSECURITY
|
|
|
|
|
|
https://github.com/SpiderLabs/ModSecurity-nginx
|
|
|
|
|
|
-comment "nginx-modsecurity needs a toolchain w/ C++, dynamic library"
|
|
|
+comment "nginx-modsecurity needs a toolchain w/ C++, dynamic library, threads"
|
|
|
depends on BR2_PACKAGE_NGINX_HTTP
|
|
|
- depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
|
|
+ !BR2_TOOLCHAIN_HAS_THREADS
|