]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785)
authorNed Batchelder <ned@nedbatchelder.com>
Mon, 3 May 2021 02:58:57 +0000 (19:58 -0700)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 02:58:57 +0000 (22:58 -0400)
commitd52bbde9421987d216c600557ef5bc931d03efcc
treee8cedf9aa87e3faf70792e9962d3bbc87fee4403
parentb43cc31a270d0dacbc69e35d6c6fbdb5edd7e711
bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785)

Narrow search to match contents of SDKs, namely only files in ``/System/Library``,
``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously,
anything under ``/System`` was assumed to be in an SDK which causes problems
with the new file system layout in 10.15+ where user file systems may appear
to be mounted under ``/System``.  Paths in ``/Library`` were also
incorrectly treated as SDK locations.

Co-authored-by: Ned Deily <nad@python.org>
Misc/NEWS.d/next/macOS/2021-05-02-21-03-27.bpo-42119.Y7BSX_.rst [new file with mode: 0644]
setup.py