diff --git a/sdl3/__init__.py b/sdl3/__init__.py index 758c32c..de9f48d 100644 --- a/sdl3/__init__.py +++ b/sdl3/__init__.py @@ -15,8 +15,8 @@ def SDL_FORMAT_ARCH(arch: str) -> str: assert False, "Unknown architecture." SDL_SYSTEM, SDL_ARCH = platform.system(), SDL_FORMAT_ARCH(platform.machine()) -SDL_BINARY_EXTENSIONS, SDL_BINARY_PATTERNS = {"Windows": ["dll"], "Darwin": ["dylib"], "Linux": ["so"]}, \ - {"Windows": ["{}.dll"], "Darwin": ["lib{}.dylib", "{0}.framework/{0}", "{0}.framework/Versions/Current/{0}"], "Linux": ["lib{}.so"]} +SDL_BINARY_EXTENSIONS, SDL_BINARY_PATTERNS = {"Windows": ["dll"], "Darwin": ["dylib"], "Linux": ["so"], "Android": ["so"]}, \ + {"Windows": ["{}.dll"], "Darwin": ["lib{}.dylib", "{0}.framework/{0}", "{0}.framework/Versions/Current/{0}"], "Linux": ["lib{}.so"], "Android": ["lib{}.so"]} def SDL_PLATFORM_SPECIFIC(system: list[str] | None = None, arch: list[str] | None = None) -> bool: """Check if the current platform is inside the given platforms."""