From 2f17809b9187aeb673c63b3bc55a6f0e8f7570be Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 6 May 2019 00:26:32 +0300 Subject: [PATCH] mtools: force link with libiconv Fixes build errors. --- packages/mtools/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/mtools/build.sh b/packages/mtools/build.sh index 6e2c35909..f03eca9a0 100644 --- a/packages/mtools/build.sh +++ b/packages/mtools/build.sh @@ -11,3 +11,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-floppyd ac_cv_lib_bsd_main=no " + +termux_step_pre_configure() { + export LIBS="-liconv" +}