libglib2: the system PCRE needs to have UTF and UCP enabled
authorSven Neumann <neumann@teufel.de>
Fri, 22 Nov 2013 21:58:27 +0000 (22:58 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 25 Nov 2013 10:01:32 +0000 (11:01 +0100)
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@teufel.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libglib2/Config.in

index db6a95066123526914f790819031a6e3e6755c1d..7cbfea5dce7054d7b22b7b8cd64411f6d75e9e61 100644 (file)
@@ -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