Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PyPy
pypy
Commits
20822142f998
Commit
03b30100
authored
Dec 18, 2022
by
Matti Picus
Browse files
fix _tkinter build on darwin
parent
b68ef6af91d6
Pipeline
#59529
passed with stage
in 9 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib_pypy/_tkinter/tklib_build.py
View file @
20822142
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment