mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-25 13:10:37 +00:00
First note that multiarch was actually disabled when built with NDK r23. I would not expect any catastrophe brought by this change. When multiarch is enabled, crossenv seems to use wrong `EXT_SUFFIX` when building some extensions. Fixes https://github.com/termux/termux-packages/issues/11870.
31 lines
911 B
Diff
31 lines
911 B
Diff
diff -u -r ../Python-3.6.1/configure ./configure
|
|
--- ../Python-3.6.1/configure 2017-03-21 07:32:38.000000000 +0100
|
|
+++ ./configure 2017-03-23 23:42:47.210898734 +0100
|
|
@@ -5387,6 +5387,8 @@
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
|
|
$as_echo_n "checking for multiarch... " >&6; }
|
|
case $ac_sys_system in #(
|
|
+ Linux-android) :
|
|
+ MULTIARCH="" ;; #(
|
|
Darwin*) :
|
|
MULTIARCH="" ;; #(
|
|
FreeBSD*) :
|
|
@@ -9295,7 +9295,7 @@
|
|
then CCSHARED="-fPIC";
|
|
else CCSHARED="+z";
|
|
fi;;
|
|
- Linux-android*) ;;
|
|
+ Linux-android*) CCSHARED="-fPIC";;
|
|
Linux*|GNU*) CCSHARED="-fPIC";;
|
|
BSD/OS*/4*) CCSHARED="-fpic";;
|
|
FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
|
|
@@ -11293,8 +11293,6 @@
|
|
_ACEOF
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
|
-$as_echo "#define HAVE_LINK 1" >>confdefs.h
|
|
-
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
$as_echo "yes" >&6; }
|
|
else
|