From 365f4092070b2e7978b8db65298308f4e770a501 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 5 Feb 2016 11:46:00 +0000 Subject: 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. Signed-off-by: Ross Burton --- meta/recipes-core/glib-2.0/glib.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index dc88d19d0a..35153fa2a7 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc @@ -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" -- cgit 1.2.3-korg