Skip to content

Commit 7dec2b5

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fix SDL install in CI
1 parent b90f351 commit 7dec2b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build_sdl.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,11 @@ def get_emscripten_include_dir() -> Path:
281281
else: # Unix
282282
matches = re.findall(
283283
r"-I(\S+)",
284-
subprocess.check_output(["pkg-config", "sdl3", "--cflags"], universal_newlines=True),
284+
subprocess.check_output(
285+
["pkg-config", "sdl3", "--cflags"],
286+
universal_newlines=True,
287+
env={**os.environ, "PKG_CONFIG_ALLOW_SYSTEM_LIBS": "1"},
288+
),
285289
)
286290
assert matches
287291

0 commit comments

Comments
 (0)