[Buildroot] [git commit] libglib2: the system PCRE needs to have UTF and UCP enabled

Peter Korsgaard peter at korsgaard.com
Mon Nov 25 10:01:32 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=e9060f3c18ee8e25e6ad73aa6ff007a58f231f52
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

If glib2 is compiled with the system PCRE instead of the included
copy, then that system PCRE needs to have support for UTF-8 and
Unicode properties enabled. Otherwise you will get such warnings
at run-time:

GLib-CRITICAL **: PCRE library is compiled without UTF8 support
GLib-CRITICAL **: PCRE library is compiled without UTF8 properties support

Signed-off-by: Sven Neumann <neumann at teufel.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libglib2/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in
index db6a950..7cbfea5 100644
--- a/package/libglib2/Config.in
+++ b/package/libglib2/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_LIBFFI
+	select BR2_PACKAGE_PCRE_UCP if BR2_PACKAGE_PCRE
 	select BR2_PACKAGE_ZLIB
 	depends on BR2_USE_WCHAR # gettext
 	depends on BR2_TOOLCHAIN_HAS_THREADS


More information about the buildroot mailing list