X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/af69ad9527b04bc9ecc7fdba2722c32573913f95..5469a1ebfa5fec914fb86cc442b204ee35e6c16f:/packages/python2/build.sh diff --git a/packages/python2/build.sh b/packages/python2/build.sh index c76c269f..a68abd37 100644 --- a/packages/python2/build.sh +++ b/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 () {