Skip to content

Commit 9c49d88

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 4a11e4c commit 9c49d88

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
@@ -287,9 +287,9 @@ def get_emscripten_include_dir() -> Path:
287287
SDL_INCLUDE = SDL_PARSE_PATH / "Versions/A/Headers"
288288
else: # Unix
289289
try:
290-
out = subprocess.check_output((*CMAKE_FIND_SDL_CMD, "-D", "MODE=COMPILE"), text=True)
291-
except Exception:
292290
out = subprocess.check_output(["pkg-config", "sdl3", "--cflags"], universal_newlines=True)
291+
except Exception:
292+
out = subprocess.check_output((*CMAKE_FIND_SDL_CMD, "-D", "MODE=COMPILE"), text=True)
293293
matches = re.findall(r"-I(\S+)", out)
294294
assert matches, out
295295

0 commit comments

Comments
 (0)