28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
--- Python-3.4.3/setup.py.orig 2015-02-25 05:27:46.000000000 -0600
|
|
+++ Python-3.4.3/setup.py 2015-05-05 11:18:04.030880000 -0500
|
|
@@ -1849,12 +1849,6 @@ class PyBuildExt(build_ext):
|
|
include_dirs.append('/usr/X11/include')
|
|
added_lib_dirs.append('/usr/X11/lib')
|
|
|
|
- # If Cygwin, then verify that X is installed before proceeding
|
|
- if host_platform == 'cygwin':
|
|
- x11_inc = find_file('X11/Xlib.h', [], include_dirs)
|
|
- if x11_inc is None:
|
|
- return
|
|
-
|
|
# Check for BLT extension
|
|
if self.compiler.find_library_file(lib_dirs + added_lib_dirs,
|
|
'BLT8.0'):
|
|
@@ -1872,9 +1866,8 @@ class PyBuildExt(build_ext):
|
|
if host_platform in ['aix3', 'aix4']:
|
|
libs.append('ld')
|
|
|
|
- # Finally, link with the X11 libraries (not appropriate on cygwin)
|
|
- if host_platform != "cygwin":
|
|
- libs.append('X11')
|
|
+ # Finally, link with the X11 libraries
|
|
+ libs.append('X11')
|
|
|
|
ext = Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'],
|
|
define_macros=[('WITH_APPINIT', 1)] + defs,
|