mirror of
https://github.com/python/cpython.git
synced 2025-11-02 06:31:29 +00:00
gh-114099 - Add iOS framework loading machinery. (GH-116454)
Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
This commit is contained in:
parent
a557478987
commit
408e127159
22 changed files with 302 additions and 62 deletions
|
|
@ -67,7 +67,7 @@ def find_library(name):
|
|||
return fname
|
||||
return None
|
||||
|
||||
elif os.name == "posix" and sys.platform == "darwin":
|
||||
elif os.name == "posix" and sys.platform in {"darwin", "ios", "tvos", "watchos"}:
|
||||
from ctypes.macholib.dyld import dyld_find as _dyld_find
|
||||
def find_library(name):
|
||||
possible = ['lib%s.dylib' % name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue