Instead of using the internal copy of libpcre, use one that we build. Note that
this requires libpcre enables Unicode properties.
Signed-off-by: Ross Burton <ross.burton@intel.com>
S = "${WORKDIR}/glib-${PV}"
+PACKAGECONFIG ??= "system-pcre"
+# To use the system pcre it must be configured with --enable-unicode-properties
+PACKAGECONFIG[system-pcre] = "--with-pcre=system,--with-pcre=internal,libpcre"
+
CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap --disable-man"
PRINTF = "--enable-included-printf=no"