From ab19f8dd80cf5f7d2f3afbd7bdf6726dbd3fe657 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Tue, 13 Aug 2019 19:02:31 +0300 Subject: [PATCH] mpc: link with libiconv Fixes on-device build. --- packages/mpc/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/mpc/build.sh b/packages/mpc/build.sh index efdcf88a5..f311823d6 100644 --- a/packages/mpc/build.sh +++ b/packages/mpc/build.sh @@ -8,3 +8,8 @@ TERMUX_PKG_SHA256=7961d95b7ce019996beab281cf957e905667c989c53fffd13ade5e62fea331 TERMUX_PKG_DEPENDS="libmpdclient" # There seems to be issues with sphinx-build when using concurrent builds: TERMUX_MAKE_PROCESSES=1 +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Diconv=enabled" + +termux_step_pre_configure() { + LDFLAGS+=" -liconv" +}