Skip to content

Instantly share code, notes, and snippets.

@inclement
Created September 17, 2018 20:59
Show Gist options
  • Select an option

  • Save inclement/3aad287156dda0b1af10487d751b9d4b to your computer and use it in GitHub Desktop.

Select an option

Save inclement/3aad287156dda0b1af10487d751b9d4b to your computer and use it in GitHub Desktop.
diff --git a/Android/makesetup b/Android/makesetup
index 785588c8f4..bcd6b03f8a 100755
--- a/Android/makesetup
+++ b/Android/makesetup
@@ -48,7 +48,7 @@ list_ext_libraries ()
done
IFS=$save_IFS
else
- libs="WITH_NCURSES WITH_READLINE"
+ libs=""
fi
echo $libs
}
diff --git a/configure-android b/configure-android
index 142d5cf0f4..be8c419b6f 100755
--- a/configure-android
+++ b/configure-android
@@ -28,7 +28,7 @@ $PY_SRCDIR/configure \
CC="$CC" AR="$AR" LD="$LD" RANLIB="$RANLIB" READELF="$READELF" \
CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" \
--host=$ANDROID_HOST --build=$ANDROID_BUILD --enable-shared \
- --enable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no \
+ --disable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no \
--without-ensurepip \
$little_endian_double \
"$@"
diff --git a/setup.py b/setup.py
index 09e35e5060..4569668985 100644
--- a/setup.py
+++ b/setup.py
@@ -1377,8 +1377,8 @@ class PyBuildExt(build_ext):
libs = ['nsl']
else:
libs = []
- exts.append( Extension('nis', ['nismodule.c'],
- libraries = libs) )
+ # exts.append( Extension('nis', ['nismodule.c'],
+ # libraries = libs) )
else:
missing.append('nis')
else:
@@ -1515,8 +1515,9 @@ class PyBuildExt(build_ext):
# LZMA compression support.
if self.compiler.find_library_file(lib_dirs, 'lzma'):
- exts.append( Extension('_lzma', ['_lzmamodule.c'],
- libraries = ['lzma']) )
+ # exts.append( Extension('_lzma', ['_lzmamodule.c'],
+ # libraries = ['lzma']) )
+ pass
else:
missing.append('_lzma')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment