]> code.ossystems Code Review - openembedded-core.git/commitdiff
glib-2.0: use the system libpcre
authorRoss Burton <ross.burton@intel.com>
Fri, 5 Feb 2016 11:46:00 +0000 (11:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2016 17:29:44 +0000 (17:29 +0000)
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>
meta/recipes-core/glib-2.0/glib.inc

index dc88d19d0a92f265d08d5ba852b2ebfbe1b8d591..35153fa2a7e7b4696ddf15e63cf114a7868f2b19 100644 (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"