Skip to content

Commit fcb99b6

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Parse SDL headers from EMSDK during Pyodide builds
1 parent ae407e5 commit fcb99b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_sdl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +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-
SDL_INCLUDE = Path(path)
267+
SDL_INCLUDE = Path(path, "include")
268268
break
269269
else:
270270
raise AssertionError(os.environ["PATH"])

0 commit comments

Comments
 (0)