Browse Source

python: Fix build for x86_64 with NDK r16

android-5
Fredrik Fornwall 7 years ago
parent
commit
e85edee608
  1. 1
      packages/python/build.sh
  2. 1
      packages/python2/build.sh

1
packages/python/build.sh

@ -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 () {

1
packages/python2/build.sh

@ -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 () {

Loading…
Cancel
Save