python2: Update to 2.7.15

This commit is contained in:
Alexey Pavlov
2018-06-27 10:05:24 +03:00
parent 45af21b38c
commit e82c03f2f9
5 changed files with 43 additions and 29 deletions

View File

@@ -1292,15 +1292,6 @@ diff -Naur a/setup.py b/setup.py
math_libs = []
# XXX Omitted modules: gl, pure, dl, SGI-specific modules
@@ -1332,7 +1332,7 @@
missing.append('resource')
# Sun yellow pages. Some systems have the functions in libc.
- if (host_platform not in ['cygwin', 'atheos', 'qnx6'] and
+ if (host_platform not in ['cygwin', 'msys', 'atheos', 'qnx6'] and
find_file('rpcsvc/yp_prot.h', inc_dirs, []) is not None):
if (self.compiler.find_library_file(lib_dirs, 'nsl')):
libs = ['nsl']
@@ -1554,7 +1554,7 @@
macros = dict()
libraries = []
@@ -1310,3 +1301,12 @@ diff -Naur a/setup.py b/setup.py
macros = dict()
libraries = []
@@ -2156,7 +2156,7 @@
ext.libraries.append('dl')
def _detect_nis(self, inc_dirs, lib_dirs):
- if host_platform in {'win32', 'cygwin', 'qnx6'}:
+ if host_platform in {'win32', 'cygwin', 'msys', 'qnx6'}:
return None
libs = []