Skip to content

Commit 9af33c3

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 439ef26 commit 9af33c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build_sdl.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,9 @@ def get_emscripten_include_dir() -> Path:
288288
else: # Unix
289289
matches = re.findall(
290290
r"-I(\S+)",
291-
# subprocess.check_output(["pkg-config", "sdl3", "--cflags"], universal_newlines=True),
292-
subprocess.check_output((*CMAKE_FIND_SDL_CMD, "-D", "MODE=COMPILE"), text=True),
291+
subprocess.check_output(["pkg-config", "sdl3", "--cflags"], universal_newlines=True)
292+
if "PYODIDE" not in os.environ
293+
else subprocess.check_output((*CMAKE_FIND_SDL_CMD, "-D", "MODE=COMPILE"), text=True),
293294
)
294295
assert matches
295296

0 commit comments

Comments
 (0)