aboutsummaryrefslogtreecommitdiff
path: root/package/nginx-modsecurity/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/nginx-modsecurity/Config.in')
-rw-r--r--package/nginx-modsecurity/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/nginx-modsecurity/Config.in b/package/nginx-modsecurity/Config.in
index 68f6a81045..aa9d53a3fe 100644
--- a/package/nginx-modsecurity/Config.in
+++ b/package/nginx-modsecurity/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_NGINX_MODSECURITY
bool "nginx-modsecurity"
+ depends on BR2_PACKAGE_NGINX_HTTP
depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity
depends on !BR2_STATIC_LIBS # libmodsecurity
select BR2_PACKAGE_PCRE # libmodsecurity
@@ -12,4 +13,5 @@ config BR2_PACKAGE_NGINX_MODSECURITY
https://github.com/SpiderLabs/ModSecurity-nginx
comment "nginx-modsecurity needs a toolchain w/ C++, dynamic library"
+ depends on BR2_PACKAGE_NGINX_HTTP
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS