changeset: 78330:e0eb7dea245f branch: 2.7 parent: 78326:7232d544c811 user: Ned Deily date: Mon Jul 30 04:07:49 2012 -0700 files: Misc/NEWS setup.py description: Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs. diff -r 7232d544c811 -r e0eb7dea245f Misc/NEWS --- a/Misc/NEWS Mon Jul 30 03:28:22 2012 -0700 +++ b/Misc/NEWS Mon Jul 30 04:07:49 2012 -0700 @@ -309,6 +309,8 @@ 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. diff -r 7232d544c811 -r e0eb7dea245f setup.py --- a/setup.py Mon Jul 30 03:28:22 2012 -0700 +++ b/setup.py Mon Jul 30 04:07:49 2012 -0700 @@ -48,6 +48,9 @@ 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,

AltStyle によって変換されたページ (->オリジナル) /