mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Change framework search order when looking for Tcl/Tk on OSX.
This is needed because the system linker looks in /Library/Framework before it looks in /System/Library frameworks. Without this patch _tkinter will be unusable when it is compiled on a system that has Tk 8.5 installed in /Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
This commit is contained in:
parent
eeafb96b08
commit
cea1ddb4aa
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -1443,8 +1443,8 @@ class PyBuildExt(build_ext):
|
||||||
# different the UNIX search logic is not sharable.
|
# different the UNIX search logic is not sharable.
|
||||||
from os.path import join, exists
|
from os.path import join, exists
|
||||||
framework_dirs = [
|
framework_dirs = [
|
||||||
'/System/Library/Frameworks/',
|
|
||||||
'/Library/Frameworks',
|
'/Library/Frameworks',
|
||||||
|
'/System/Library/Frameworks/',
|
||||||
join(os.getenv('HOME'), '/Library/Frameworks')
|
join(os.getenv('HOME'), '/Library/Frameworks')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue