glib-2.0: use the system libpcre

Instead of using the internal copy of libpcre, use one that we build.  Note that
this requires libpcre enables Unicode properties.

(From OE-Core rev: 365f4092070b2e7978b8db65298308f4e770a501)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2016-02-05 11:46:00 +00:00 committed by Richard Purdie
parent 1ae132e108
commit 8bedf767aa
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even
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"