python: Fix build for x86_64 with NDK r16
This commit is contained in:
parent
04301bb86e
commit
2014dc8bf1
@ -39,6 +39,7 @@ termux_step_pre_configure() {
|
|||||||
# zlib extension module is not built without this):
|
# zlib extension module is not built without this):
|
||||||
CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
|
CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
|
||||||
LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib"
|
LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib"
|
||||||
|
if [ $TERMUX_ARCH = x86_64 ]; then LDFLAGS+=64; fi
|
||||||
}
|
}
|
||||||
|
|
||||||
termux_step_post_make_install () {
|
termux_step_post_make_install () {
|
||||||
|
@ -57,6 +57,7 @@ termux_step_pre_configure() {
|
|||||||
# zlib extension module is not built without this):
|
# zlib extension module is not built without this):
|
||||||
CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
|
CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
|
||||||
LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib"
|
LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib"
|
||||||
|
if [ $TERMUX_ARCH = x86_64 ]; then LDFLAGS+=64; fi
|
||||||
}
|
}
|
||||||
|
|
||||||
termux_step_post_make_install () {
|
termux_step_post_make_install () {
|
||||||
|
Loading…
Reference in New Issue
Block a user