lftp: specify correct location for zlib
This commit is contained in:
parent
97e6e5cb12
commit
76f5f58f05
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user