Skip to content

Commit b3baf09

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

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

build_sdl.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,10 @@ def get_emscripten_include_dir() -> Path:
281281
else: # Unix
282282
matches = re.findall(
283283
r"-I(\S+)",
284-
subprocess.check_output(
285-
["pkg-config", "sdl3", "--cflags"],
286-
universal_newlines=True,
287-
env={**os.environ, "PKG_CONFIG_ALLOW_SYSTEM_LIBS": "1"},
288-
),
284+
subprocess.check_output(["pkg-config", "sdl3", "--cflags"], universal_newlines=True),
289285
)
286+
if not matches:
287+
matches = ["/usr/lib"]
290288
assert matches
291289

292290
for match in matches:

0 commit comments

Comments
 (0)