Skip to content

Commit 115bee2

Browse files
committed
fixup! Parse SDL headers from EMSDK during Pyodide builds
1 parent 5c3a8bf commit 115bee2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def check_sdl_version() -> None:
4141
"""Check the local SDL version on Linux distributions."""
4242
if not sys.platform.startswith("linux"):
4343
return
44+
if "PYODIDE" in os.environ:
45+
return
4446
needed_version = "{}.{}.{}".format(*SDL_VERSION_NEEDED)
4547
try:
4648
sdl_version_str = subprocess.check_output(

0 commit comments

Comments
 (0)