python: Fix build for x86_64 with NDK r16

This commit is contained in:
Fredrik Fornwall 2017-11-17 01:37:31 +01:00
parent 04301bb86e
commit 2014dc8bf1
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ termux_step_pre_configure() {
# zlib extension module is not built without this):
CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib"
if [ $TERMUX_ARCH = x86_64 ]; then LDFLAGS+=64; fi
}
termux_step_post_make_install () {

View File

@ -57,6 +57,7 @@ termux_step_pre_configure() {
# zlib extension module is not built without this):
CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib"
if [ $TERMUX_ARCH = x86_64 ]; then LDFLAGS+=64; fi
}
termux_step_post_make_install () {