Skip to content

Commit b3596b3

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 0e7252c commit b3596b3

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
@@ -407,10 +407,10 @@ def get_cdef() -> tuple[str, dict[str, str]]:
407407
extra_compile_args += ["--use-port=sdl3"]
408408
extra_link_args += ["--use-port=sdl3"]
409409
extra_compile_args += (
410-
subprocess.check_output(["pkg-config", "sdl3", "--cflags"], universal_newlines=True).strip().split()
410+
subprocess.check_output(["cmake", "--find-package", "-DNAME=SDL3", "-DMODE=COMPILE"], text=True).strip().split()
411411
)
412412
extra_link_args += (
413-
subprocess.check_output(["pkg-config", "sdl3", "--libs"], universal_newlines=True).strip().split()
413+
subprocess.check_output(["cmake", "--find-package", "-DNAME=SDL3", "-DMODE=LINK"], text=True).strip().split()
414414
)
415415
print(f"{extra_compile_args=}")
416416
print(f"{extra_link_args=}")

0 commit comments

Comments
 (0)