Created
April 16, 2013 08:09
-
-
Save derekbrokeit/5394269 to your computer and use it in GitHub Desktop.
Disable automatically linking to x11 in python installation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index ea8a5f5..5460fb9 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -1897,8 +1897,8 @@ class PyBuildExt(build_ext): | |
libs.append('ld') | |
# Finally, link with the X11 libraries (not appropriate on cygwin) | |
- if host_platform != "cygwin": | |
- libs.append('X11') | |
+ # if host_platform != "cygwin": | |
+ # libs.append('X11') | |
ext = Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'], | |
define_macros=[('WITH_APPINIT', 1)] + defs, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment