package/nginx-modsecurity: depends on BR2_PACKAGE_NGINX_HTTP
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 2 Feb 2020 16:27:03 +0000 (17:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Feb 2020 20:06:20 +0000 (21:06 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/7babc12094f4d490569556824a2029e5f08ff866

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nginx-modsecurity/Config.in

index 68f6a81045884fbf0989321be0103dd7693a4650..aa9d53a3fedb8156a4ce435df96a259087ac5ae3 100644 (file)
@@ -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