Skip to content

Commit

Permalink
gettext-full: link libiconv when building host pkg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zpc0 authored and robimarko committed Apr 5, 2024
1 parent 27a2b54 commit 63dd14b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package/libs/gettext-full/Makefile
Expand Up @@ -27,7 +27,7 @@ PKG_BUILD_PARALLEL:=0

PKG_FIXUP:=autoreconf

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:= \
Expand Down Expand Up @@ -101,14 +101,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)

Expand Down

0 comments on commit 63dd14b

Please sign in to comment.