[Buildroot] [git commit] package/nginx-modsecurity: depends on BR2_PACKAGE_NGINX_HTTP

Peter Korsgaard peter at korsgaard.com
Sun Feb 2 20:06:20 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=10684bbc901107d54766dec65787740f0516a6a4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes:
 - http://autobuild.buildroot.org/results/7babc12094f4d490569556824a2029e5f08ff866

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/nginx-modsecurity/Config.in | 2 ++
 1 file changed, 2 insertions(+)

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


More information about the buildroot mailing list