◐ Shell
clean mode source ↗

[3.9] bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (GH-27251) by miss-islington · Pull Request #28053 · python/cpython

Conversation

@miss-islington

Previously, when built on older macOS systems, find_library was not able to find macOS system libraries when running on Big Sur due to changes in how system libraries are stored.
(cherry picked from commit 71853a7)

Co-authored-by: Tobias Bergkvist tobias@bergkv.ist

https://bugs.python.org/issue44689

…aries when built on older macOS systems (pythonGH-27251)

Previously, when built on older macOS systems, `find_library` was not able to find macOS system libraries when running on Big Sur due to changes in how system libraries are stored.
(cherry picked from commit 71853a7)

Co-authored-by: Tobias Bergkvist <tobias@bergkv.ist>

@miss-islington

@ned-deily

@ambv, This should go into 3.9.7. It has been tested via macOS installer builds for both the universal2 and legacy 10.9 Intel-64 installer variants, each on macOS 10.9, 11.5.2 Intel, and 11.5.2 Apple Silicon systems.