Commit 03b30100 authored by Matti Picus's avatar Matti Picus
Browse files

fix _tkinter build on darwin

parent b68ef6af91d6
Pipeline #59529 passed with stage
in 9 minutes and 28 seconds
......@@ -19,9 +19,13 @@ elif sys.platform == 'win32':
libdirs = []
elif sys.platform == 'darwin':
# homebrew
homebrew = os.environ.get('HOMEBREW_PREFIX', '')
incdirs = ['/usr/local/opt/tcl-tk/include']
linklibs = ['tcl8.6', 'tk8.6']
libdirs = ['/usr/local/opt/tcl-tk/lib']
libdirs = []
if homebrew:
incdirs.append(homebrew + '/include')
libdirs.append(homebrew + '/opt/tcl-tk/lib')
else:
# On some Linux distributions, the tcl and tk libraries are
# stored in /usr/include, so we must check this case also
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment