From 38a9375fb3129df32439898c6520210e53c0c28e Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Tue, 26 Oct 2021 14:03:32 +0200 Subject: [PATCH] recode: add libiconv to LIBS Otherwise we get an error: CANNOT LINK EXECUTABLE "recode": cannot locate symbol "libiconv_open" Fixes https://github.com/termux/termux-packages/issues/7857. --- packages/recode/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/recode/build.sh b/packages/recode/build.sh index e5c51eccb..2b028e1c2 100644 --- a/packages/recode/build.sh +++ b/packages/recode/build.sh @@ -3,7 +3,11 @@ TERMUX_PKG_DESCRIPTION="Charset converter tool and library" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="Marlin Sööse " TERMUX_PKG_VERSION=3.7.9 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/rrthomas/recode/releases/download/v${TERMUX_PKG_VERSION}/recode-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=e4320a6b0f5cd837cdb454fb5854018ddfa970911608e1f01cc2c65f633672c4 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libiconv" +# recode needs to be explicitly linked to avoid: +# CANNOT LINK EXECUTABLE "recode": cannot locate symbol "libiconv_open" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="LIBS=-liconv"