Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
This commit is contained in:
parent
38df514296
commit
d8ec464dbb
|
@ -309,6 +309,8 @@ Tests
|
|||
Build
|
||||
-----
|
||||
|
||||
- Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
|
||||
|
||||
- Issue #8767: Restore building with --disable-unicode.
|
||||
Patch by Stefano Taschini.
|
||||
|
||||
|
|
3
setup.py
3
setup.py
|
@ -48,6 +48,9 @@ def is_macosx_sdk_path(path):
|
|||
Returns True if 'path' can be located in an OSX SDK
|
||||
"""
|
||||
return (path.startswith('/usr/') and not path.startswith('/usr/local')) or path.startswith('/System/')
|
||||
return ( (path.startswith('/usr/') and not path.startswith('/usr/local'))
|
||||
or path.startswith('/System/')
|
||||
or path.startswith('/Library/') )
|
||||
|
||||
def find_file(filename, std_dirs, paths):
|
||||
"""Searches for the directory where a given file is located,
|
||||
|
|
Loading…
Reference in New Issue