mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=glib2
|
PKG_NAME:=glib2
|
||||||
PKG_VERSION:=2.74.7
|
PKG_VERSION:=2.74.7
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@GNOME/glib/$(basename $(PKG_VERSION))
|
PKG_SOURCE_URL:=@GNOME/glib/$(basename $(PKG_VERSION))
|
||||||
@@ -26,7 +26,7 @@ PKG_FORTIFY_SOURCE:=0
|
|||||||
PKG_BUILD_FLAGS:=gc-sections
|
PKG_BUILD_FLAGS:=gc-sections
|
||||||
|
|
||||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/glib-$(PKG_VERSION)
|
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)/host-build.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|||||||
Reference in New Issue
Block a user