From: Jo-Philipp Wich Date: Wed, 11 Jan 2017 02:44:51 +0000 (+0100) Subject: gettext-full: avoid using iconv for host builds X-Git-Tag: v17.01.0-rc1~152 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b95494baedbc46d088550e18370e3507af4f732e;p=openwrt%2Fstaging%2Fpepe2k.git gettext-full: avoid using iconv for host builds The gettext-full host build might pick up iconv-stub host build headers during the build, leading to stray linker errors with unresolved references to libiconv_open(), libiconv() and libiconv_close(). Since we're not needing iconv support on the host, pass the appropriate cache variables to configure to prevent detection and linking of iconv. Signed-off-by: Jo-Philipp Wich --- diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile index d293e30eac..deb4840109 100644 --- a/package/libs/gettext-full/Makefile +++ b/package/libs/gettext-full/Makefile @@ -71,7 +71,10 @@ HOST_CONFIGURE_ARGS += \ HOST_CONFIGURE_VARS += \ - EMACS="no" + EMACS="no" \ + am_cv_lib_iconv=no \ + am_cv_func_iconv=no \ + ac_cv_header_iconv_h=no \ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/libintl-full/include