diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-01-11 03:44:51 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-11 03:48:30 +0100 |
commit | b95494baedbc46d088550e18370e3507af4f732e (patch) | |
tree | 6fd714f85b5fcd5da9417e5a7c156c842eb86020 /package/libs/gettext-full/Makefile | |
parent | 43d53399406b08bdfeb78727cd122578aee4894a (diff) | |
download | mtk-20170518-b95494baedbc46d088550e18370e3507af4f732e.zip mtk-20170518-b95494baedbc46d088550e18370e3507af4f732e.tar.gz mtk-20170518-b95494baedbc46d088550e18370e3507af4f732e.tar.bz2 |
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 <jo@mein.io>
Diffstat (limited to 'package/libs/gettext-full/Makefile')
-rw-r--r-- | package/libs/gettext-full/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile index d293e30..deb4840 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 |