From e37949d7c538394b7895ed31ef55ea04daf02a0c Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Tue, 18 Mar 2014 13:14:22 -0400 Subject: [PATCH] mtools: Disable iconv use on target Since the /usr/lib/gconv directory isn't copied over to the target with some toolchains, iconv_open will fail. This removes character set conversion in the target version of mtools. Signed-off-by: Frank Hunleth --- package/mtools/mtools.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mtools/mtools.mk b/package/mtools/mtools.mk index d331af2..a0a14ac 100644 --- a/package/mtools/mtools.mk +++ b/package/mtools/mtools.mk @@ -18,6 +18,9 @@ MTOOLS_DEPENDENCIES += libiconv MTOOLS_CONF_ENV += LIBS=-liconv # We have no host dependencies HOST_MTOOLS_DEPENDENCIES = +else +# external toolchain doesn't install gconv. This fixes a runtime error. +MTOOLS_CONF_OPTS += ac_cv_header_iconv_h='no' endif # Package does not build in parallel due to improper make rules -- 2.5.0