[Buildroot] [git commit] package/libmodsecurity: point to staging pcre-config

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Feb 1 09:26:29 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=788a7560cb4e1c2f3aea086bd1556616d505cb7c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The libmodsecurity build system uses the file installed on the host if not
explicitly pointed to pcre-config in the staging dir.

Fixes:
- http://autobuild.buildroot.net/results/f936ad05bca4bb776917306700750ba6d2498ef0
  + similar failures for other architectures

Signed-off-by: Frank Vanbever <frank.vanbever at essensium.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/libmodsecurity/libmodsecurity.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libmodsecurity/libmodsecurity.mk b/package/libmodsecurity/libmodsecurity.mk
index c32bfb4b3c..063f969fc6 100644
--- a/package/libmodsecurity/libmodsecurity.mk
+++ b/package/libmodsecurity/libmodsecurity.mk
@@ -18,6 +18,7 @@ LIBMODSECURITY_CONF_ENV = \
 
 LIBMODSECURITY_DEPENDENCIES = pcre
 LIBMODSECURITY_CONF_OPTS = \
+	--with-pcre="$(STAGING_DIR)/usr/bin/pcre-config" \
 	--disable-examples \
 	--without-lmdb \
 	--without-ssdeep \


More information about the buildroot mailing list