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.
This commit is contained in:
Henrik Grimler 2021-10-26 14:03:32 +02:00
parent 9b0735b7ce
commit 38a9375fb3
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 4 additions and 0 deletions

View File

@ -3,7 +3,11 @@ TERMUX_PKG_DESCRIPTION="Charset converter tool and library"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.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"