pcre2 can now be properly linked statically. Hence, remove both
the patch and -Dforce_fallback_for=libpcre2-8 option.
Signed-off-by: Yegor Yefremov <[email protected]>
# set runtime dir to /var/run
COMP_ARGS+=-Druntime_dir=/var/run
-MESON_HOST_ARGS += $(COMP_ARGS) -Dxattr=false -Ddefault_library=static -Dnls=disabled -Dforce_fallback_for=libpcre2-8
+MESON_HOST_ARGS += $(COMP_ARGS) -Dxattr=false -Ddefault_library=static -Dnls=disabled
MESON_ARGS += $(COMP_ARGS) -Dxattr=true -Db_lto=true -Ddefault_library=both -Dnls=$(if $(CONFIG_BUILD_NLS),en,dis)abled
define Build/InstallDev
+++ /dev/null
---- 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