Commit 3b796680 authored by Ned Deily's avatar Ned Deily

Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.

parent c556c644
......@@ -435,6 +435,8 @@ Build
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
- Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Documentation
-------------
......
......@@ -60,6 +60,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,
......
Markdown is supported
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