glib2: link libiconv when building host pkg

some compile error happens when building.
Linking to libiconv-full fixes this.
refer to: 63dd14b906

Signed-off-by: Tan Zien <nabsdh9@gmail.com>
This commit is contained in:
Tan Zien 2024-04-06 23:05:17 +08:00 committed by Rosen Penev
parent 1a70cf2f3b
commit 9c7a973a50
1 changed files with 2 additions and 2 deletions

View File

@ -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