diff options
| author | Ned Deily <nad@acm.org> | 2012-07-30 02:35:58 -0700 |
|---|---|---|
| committer | Ned Deily <nad@acm.org> | 2012-07-30 02:35:58 -0700 |
| commit | b72de90df18d998e78506bab596a062fe1cbb390 (patch) | |
| tree | 68d662f9622d1e34d08c771b40bfc358d497a5d6 /setup.py | |
| parent | aaa6031ef827b13faa32bbe4696ddf1ca8731bda (diff) | |
| download | cpython-b72de90df18d998e78506bab596a062fe1cbb390.tar.gz | |
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,7 +69,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, |
