![Frank Vanbever](/assets/img/avatar_default.png)
The dependency on !BR2_STATIC_LIBS is due to missing Libs.private in the libmodconfig pkg-config file making builds that statically link against libmodsecurity fail. Lua is disabled due to using the host libraries. Yajl is disabled as enabling it forces the tests to be built. These tests have a hard dependency on libmodsecurity.a which is not built when --disable-static is used in the configuration. There is no flag to disable these tests. Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
873 B
Diff
29 lines
873 B
Diff
From 13c505e30474c919ed9ae552e459769c456da21e Mon Sep 17 00:00:00 2001
|
|
From: Frank Vanbever <frank.vanbever@essensium.com>
|
|
Date: Fri, 10 Jan 2020 11:24:43 +0100
|
|
Subject: [PATCH] test for uClinux in configure script
|
|
|
|
Upstream: https://github.com/SpiderLabs/ModSecurity/pull/2235
|
|
|
|
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 5e6971f4..51d38071 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -156,7 +156,7 @@ case $host in
|
|
AC_DEFINE([MACOSX], [1], [Define if the operating system is Macintosh OSX])
|
|
PLATFORM="MacOSX"
|
|
;;
|
|
- *-*-linux*)
|
|
+ *-*-linux* | *-*uclinux*)
|
|
echo "Checking platform... Identified as Linux"
|
|
AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX])
|
|
PLATFORM="Linux"
|
|
--
|
|
2.20.1
|
|
|