Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
bpo-44689: edit NEWS blurb and comment
  • Loading branch information
ned-deily committed Aug 30, 2021
commit dfcc35789e97e94a8ae04650ef39fc08f33ecc7d
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
You can now compile Python on MacOS < 11.0 and
:meth:`ctypes.util.find_library` will still work on MacOS >= 11.0.
:meth:`ctypes.util.find_library` now works correctly on macOS 11 Big Sur
even if Python is built on an older version of macOS. 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.
2 changes: 1 addition & 1 deletion Modules/_ctypes/callproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ copy_com_pointer(PyObject *self, PyObject *args)
#define HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH_RUNTIME \
__builtin_available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *)
#else
// Support the deprecated case of compiling on an older MacOS version
// Support the deprecated case of compiling on an older macOS version
static void *libsystem_b_handle;
static bool (*_dyld_shared_cache_contains_path)(const char *path);

Expand Down