X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/a4481c5ac985148652934005522e123e27c2f7ff..e85edee6081ebaa0b708a8c105ddbca6dad03b69:/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 () {