openwrt-packages/libs/glib2/patches/010-pcre.patch

11 lines
285 B
Diff

--- a/glib/meson.build
+++ b/glib/meson.build
@@ -404,6 +404,7 @@ pcre2_static_args = []
if use_pcre2_static_flag
pcre2_static_args = ['-DPCRE2_STATIC']
+ pcre2 = pcre2.as_link_whole()
endif
glib_c_args = ['-DG_LOG_DOMAIN="GLib"'] + glib_c_args_internal + pcre2_static_args