summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYanase Yuki2024-03-07 08:31:34 +0000
committerRobert Marko2024-06-04 12:27:35 +0000
commita691e7d8ad140b8f8716a66b2e72daf404cb3f92 (patch)
treee5d67096bd1e3f629a56c8adef2587ffd23e509c
parent08becaf62f4232f6bc60d899271529d66300d6ae (diff)
downloadopenwrt-a691e7d8ad140b8f8716a66b2e72daf404cb3f92.tar.gz
gettext-full: link libiconv when building host pkg
On Fedora 40 system, some compile error happens when building iconv-ostream.c. Linking to libiconv-full fixes this. Signed-off-by: Yanase Yuki <dev@zpc.st> (cherry picked from commit 63dd14b906e9eb27bc878b95ac6777a3624b1135) Link: https://github.com/openwrt/openwrt/pull/15627 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/libs/gettext-full/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile
index 1ed0e82df0..b974131fbd 100644
--- a/package/libs/gettext-full/Makefile
+++ b/package/libs/gettext-full/Makefile
@@ -25,7 +25,7 @@ PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=gettext-full/host libunistring libxml2
PKG_BUILD_PARALLEL:=0
-HOST_BUILD_DEPENDS:=gperf/host libunistring/host libxml2/host
+HOST_BUILD_DEPENDS:=gperf/host libiconv-full/host libunistring/host libxml2/host
HOST_BUILD_PARALLEL:=0
PKG_SUBDIRS:= \
@@ -99,14 +99,12 @@ HOST_CONFIGURE_ARGS += \
--disable-java \
--disable-openmp \
--without-emacs \
+ --with-libiconv-prefix=$(STAGING_DIR_HOSTPKG) \
--with-libunistring-prefix=$(STAGING_DIR_HOSTPKG) \
--with-libxml2-prefix=$(STAGING_DIR_HOSTPKG)
HOST_CONFIGURE_VARS += \
EMACS="no" \
- am_cv_lib_iconv=no \
- am_cv_func_iconv=no \
- ac_cv_header_iconv_h=no \
HOST_CFLAGS += $(HOST_FPIC)