From b62ed68007eb9429a3f5e40ce56b0094c57d6414 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 18 Apr 2020 17:04:57 -0700 Subject: [PATCH] glib2: fix host build Seems to need -liconv. Signed-off-by: Rosen Penev --- libs/glib2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile index 5f102d235..a56d83de1 100644 --- a/libs/glib2/Makefile +++ b/libs/glib2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=glib2 PKG_VERSION:=2.64.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNOME/glib/2.64 @@ -42,6 +42,7 @@ define Package/glib2/description The GLib library of C routines endef +HOST_LDFLAGS += -liconv TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections