diff -r fb70ea8b7b2d configure.ac --- a/configure.ac Tue Apr 26 09:31:11 2016 +0300 +++ b/configure.ac Tue Apr 26 10:13:57 2016 +0200 @@ -368,6 +368,9 @@ # a lot of different things including 'define_xopen_source' # in the case statement below. case "$host" in + *-*-linux-android*) + ac_sys_system=Linux-android + ;; *-*-linux*) ac_sys_system=Linux ;; @@ -1112,7 +1115,14 @@ LDLIBRARY='libpython$(LDVERSION).so' BLDLIBRARY='-L. -lpython$(LDVERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} - INSTSONAME="$LDLIBRARY".$SOVERSION + case $ac_sys_system in + Linux-android*) + INSTSONAME="$LDLIBRARY" + ;; + *) + INSTSONAME="$LDLIBRARY".$SOVERSION + ;; + esac if test "$with_pydebug" != yes then PY3LIBRARY=libpython3.so diff -r fb70ea8b7b2d configure --- a/configure Tue Apr 26 09:31:11 2016 +0300 +++ b/configure Tue Apr 26 10:14:48 2016 +0200 @@ -2876,6 +2876,7 @@ ac_config_headers="$ac_config_headers pyconfig.h" + ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -3313,6 +3314,9 @@ # a lot of different things including 'define_xopen_source' # in the case statement below. case "$host" in + *-*-linux-android*) + ac_sys_system=Linux-android + ;; *-*-linux*) ac_sys_system=Linux ;; @@ -5925,7 +5929,14 @@ LDLIBRARY='libpython$(LDVERSION).so' BLDLIBRARY='-L. -lpython$(LDVERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} - INSTSONAME="$LDLIBRARY".$SOVERSION + case $ac_sys_system in + Linux-android*) + INSTSONAME="$LDLIBRARY" + ;; + *) + INSTSONAME="$LDLIBRARY".$SOVERSION + ;; + esac if test "$with_pydebug" != yes then PY3LIBRARY=libpython3.so