summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-02-25 00:56:38 +1100
committerNed Deily <nad@python.org>2016-02-25 00:56:38 +1100
commit713ff3df97481896d5cca05a00dc3e216ee80da2 (patch)
tree2133f938f2e374c8b724a0c28304250bb8c0ba36 /Python/errors.c
parent5d56ef7539cfff549c449a407090cfe61a4a0e03 (diff)
downloadcpython-713ff3df97481896d5cca05a00dc3e216ee80da2.tar.gz
Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.
As of Xcode 7, SDKs for Apple platforms now include textual-format stub libraries whose file names have a .tbd extension rather than the standard OS X .dylib extension. The Apple compiler tool chain handles these stub libraries transparently and the installed system shared libraries are still .dylibs. However, the new stub libraries cause problems for third-party programs that support building with Apple SDKs and make build-time decisions based on the presence or paths of system-supplied shared libraries in the SDK. In particular, building Python itself with an SDK fails to find system-supplied libraries during setup.py's build of standard library extension modules. The solution is to have find_library_file() in Distutils search for .tbd files, along with the existing types (.a, .so, and .dylib). Patch by Tim Smith.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions