From 0e7554cbf4f3e81ca8ea2536f46815547444e49b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 21 Feb 2024 12:52:11 -0800 Subject: [PATCH] glib2: use internal pcre2 for host There's some weird issue where -lpcre2 is not being passed. Fixes vala/host which links to static libraries. Signed-off-by: Rosen Penev --- libs/glib2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile index 44a1916034..73291e88c0 100644 --- a/libs/glib2/Makefile +++ b/libs/glib2/Makefile @@ -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