From 788a7560cb4e1c2f3aea086bd1556616d505cb7c Mon Sep 17 00:00:00 2001 From: Frank Vanbever Date: Fri, 31 Jan 2020 16:42:57 +0100 Subject: [PATCH] package/libmodsecurity: point to staging pcre-config 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 Signed-off-by: Thomas Petazzoni --- 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 \ -- 2.30.2