We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66552f0 commit ce16da5Copy full SHA for ce16da5
setup.py
@@ -2191,10 +2191,12 @@ def detect_tkinter(self):
2191
# *** Uncomment these for TOGL extension only:
2192
# -lGL -lGLU -lXext -lXmu \
2193
2194
+ extra_compile_args = ['-DPy_BUILD_CORE_MODULE']
2195
self.add(Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'],
2196
define_macros=[('WITH_APPINIT', 1)] + defs,
2197
include_dirs=include_dirs,
2198
libraries=libs,
2199
+ extra_compile_args=extra_compile_args,
2200
library_dirs=added_lib_dirs))
2201
return True
2202
0 commit comments