Skip to content

Commit b619c58

Browse files
committed
fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 0b4922e commit b619c58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_sdl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ def get_cdef() -> tuple[str, dict[str, str]]:
401401
with TemporaryDirectory() as tmp_dir:
402402
blank_source = Path(tmp_dir, "blank.c")
403403
blank_source.write_text("")
404-
subprocess.check_output(["emcc", "--use-port=sdl3", blank_source], universal_newlines=True)
404+
print(f"""EMCC CFLAGS: {subprocess.check_output(["emcc", "--use-port=sdl3", "--cflags"], text=True)!r}""")
405+
subprocess.run(["emcc", "--use-port=sdl3", blank_source], check=True)
405406

406407
extra_compile_args += ["--use-port=sdl3"]
407408
extra_link_args += ["--use-port=sdl3"]

0 commit comments

Comments
 (0)