package/libmodsecurity: point to staging pcre-config
authorFrank Vanbever <frank.vanbever@essensium.com>
Fri, 31 Jan 2020 15:42:57 +0000 (16:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 1 Feb 2020 09:26:29 +0000 (10:26 +0100)
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@essensium.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libmodsecurity/libmodsecurity.mk

index c32bfb4b3c45cd905fcb4cf5ef949c2fb5ed55a0..063f969fc68a3ea9d499839a58e6a7ab4c9cd078 100644 (file)
@@ -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 \