Skip to content

Commit c82d2f7

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 414d495 commit c82d2f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_sdl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def get_cdef() -> tuple[str, dict[str, str]]:
363363
library_dirs: list[str] = []
364364

365365
if "PYODIDE" in os.environ:
366-
pass
366+
libraries += ["SDL3"]
367367
elif sys.platform == "darwin":
368368
extra_link_args += ["-framework", "SDL3"]
369369
else:
@@ -392,7 +392,7 @@ def get_cdef() -> tuple[str, dict[str, str]]:
392392

393393
if "PYODIDE" in os.environ:
394394
extra_compile_args += ["--use-port=sdl3"]
395-
extra_link_args += ["--use-port=sdl3", "-lSDL3"]
395+
extra_link_args += ["--use-port=sdl3"]
396396
elif sys.platform not in ["win32", "darwin"]:
397397
# Use sdl-config to link to SDL on Linux.
398398
extra_compile_args += (

0 commit comments

Comments
 (0)