From 9c7a973a50dd987a13cde7bdac2330aac57275f3 Mon Sep 17 00:00:00 2001 From: Tan Zien Date: Sat, 6 Apr 2024 23:05:17 +0800 Subject: [PATCH] glib2: link libiconv when building host pkg some compile error happens when building. Linking to libiconv-full fixes this. refer to: https://github.com/openwrt/openwrt/commit/63dd14b906e9eb27bc878b95ac6777a3624b1135 Signed-off-by: Tan Zien --- libs/glib2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile index 73291e88c0..ef36e162c0 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:=2 +PKG_RELEASE:=3 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNOME/glib/$(basename $(PKG_VERSION)) @@ -26,7 +26,7 @@ PKG_FORTIFY_SOURCE:=0 PKG_BUILD_FLAGS:=gc-sections HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/glib-$(PKG_VERSION) -HOST_BUILD_DEPENDS:=pcre2/host libffi/host +HOST_BUILD_DEPENDS:=pcre2/host libffi/host libiconv-full/host include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk -- 2.30.2