X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/30a216cb019db3d866e556cec566629a7fa0bf72..ea00df0737ef2579d63863e8848e6dc548d9a226:/packages/python/build.sh diff --git a/packages/python/build.sh b/packages/python/build.sh index c7fec443..f736afbf 100644 --- a/packages/python/build.sh +++ b/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 () {