diff --git a/Misc/NEWS.d/next/Library/2018-01-23-18-43-08.bpo-32637.ntAPTa.rst b/Misc/NEWS.d/next/Library/2018-01-23-18-43-08.bpo-32637.ntAPTa.rst new file mode 100644 index 000000000000000..e1a346b875851b5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-01-23-18-43-08.bpo-32637.ntAPTa.rst @@ -0,0 +1 @@ +Set sys.platform to "android" on Android. diff --git a/configure b/configure index 5904b54c3eda80a..b17448516100c65 100755 --- a/configure +++ b/configure @@ -3272,6 +3272,7 @@ then MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux-android*) MACHDEP="android";; linux*) MACHDEP="linux";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; diff --git a/configure.ac b/configure.ac index 15ef872a53af458..7603a3982064140 100644 --- a/configure.ac +++ b/configure.ac @@ -401,6 +401,7 @@ then MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux-android*) MACHDEP="android";; linux*) MACHDEP="linux";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";;