Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.25] Add hardcoded paths to macOS frameworks for Big Sur compatibil…
…ity. (#1905) ctypes.util.find_library is checking for the presence of the framework files, which will fail due to macOS Big Sur's "dynamic linker cache". Since these files really can't be anywhere else, we just hardcode the path and load them. See: https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11-beta-release-notes (relevent excerpt provided below) This update takes the approach of leaving the existing behavior as is for macOS 10.8 (lowest supported version) through 10.15. Allegedly Apple is going to number Big Sur as macOS 11, although right now the beta returns a version of "10.16", so this code handles both as being greater than or equal to "10.16". Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>
- Loading branch information