From b01ae6efbcfaf7d8908214bb1c564d00ccfb0da6 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 15 Apr 2019 02:01:18 +0300 Subject: [PATCH] lftp: specify correct location for zlib --- packages/lftp/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lftp/build.sh b/packages/lftp/build.sh index f79064d79..303ae8a21 100644 --- a/packages/lftp/build.sh +++ b/packages/lftp/build.sh @@ -12,12 +12,12 @@ ac_cv_func_dn_expand=no --with-openssl --with-expat=$TERMUX_PREFIX --with-readline=$TERMUX_PREFIX +--with-zlib=$TERMUX_PREFIX " TERMUX_PKG_DEPENDS="libexpat, openssl, readline, libidn2, zlib" TERMUX_PKG_BUILD_DEPENDS="ncurses-dev" termux_step_pre_configure() { - TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-zlib=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr" if [ "$TERMUX_DEBUG" == "true" ]; then # When doing debug build, -D_FORTIFY_SOURCE=2 gives this error: # /home/builder/.termux-build/_lib/16-aarch64-21-v3/bin/../sysroot/usr/include/bits/fortify/string.h:79:26: error: use of undeclared identifier '__USE_FORTIFY_LEVEL'