Skip to content

Commit 844163c

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Parse SDL headers from EMSDK during Pyodide builds
1 parent ad1af7b commit 844163c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_sdl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def on_directive_handle(
264264
# None of the EMSDK environment variables exist! Search PATH for Emscripten as a workaround
265265
for path in os.environ["PATH"].split(os.pathsep)[::-1]:
266266
if Path(path).match("upstream/emscripten"):
267+
print(f"{list(Path(path).iterdir())}")
267268
SDL_INCLUDE = Path(path, "include")
268269
print(f"{list(SDL_INCLUDE.iterdir())}")
269270
print(f"{list((SDL_INCLUDE / 'SDL').iterdir())}")

0 commit comments

Comments
 (0)