glib2: use internal pcre2 for host
authorRosen Penev <rosenp@gmail.com>
Wed, 21 Feb 2024 20:52:11 +0000 (12:52 -0800)
committerRosen Penev <rosenp@gmail.com>
Thu, 22 Feb 2024 18:49:16 +0000 (10:49 -0800)
There's some weird issue where -lpcre2 is not being passed. Fixes
vala/host which links to static libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/glib2/Makefile

index 44a19160341d27702964f94d48ecb3728bfeb0a9..73291e88c0d7d7535797eb21a16546dd7e290ab8 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=glib2
 PKG_VERSION:=2.74.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNOME/glib/$(basename $(PKG_VERSION))
@@ -67,7 +67,7 @@ COMP_ARGS+=-Dglib_assert=false
 COMP_ARGS+=-Dtests=false
 
 
-MESON_HOST_ARGS += $(COMP_ARGS) -Dxattr=false -Ddefault_library=static -Dnls=disabled
+MESON_HOST_ARGS += $(COMP_ARGS) -Dxattr=false -Ddefault_library=static -Dnls=disabled -Dforce_fallback_for=libpcre2-8
 MESON_ARGS += $(COMP_ARGS) -Dxattr=true -Db_lto=true -Ddefault_library=both -Dnls=$(if $(CONFIG_BUILD_NLS),en,dis)abled
 
 define Build/InstallDev