Skip to content

Commit 89cc447

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Parse SDL headers from EMSDK during Pyodide builds
1 parent 8925da0 commit 89cc447

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build_sdl.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,16 +261,12 @@ def on_directive_handle(
261261

262262
SDL_INCLUDE: Path
263263
if "PYODIDE" in os.environ:
264-
import pprint
265-
266-
pprint.pprint(dict(os.environ))
267264
for path in os.environ["PATH"].split(os.pathsep):
268265
if Path(path, "../upstream/emscripten").exists():
269266
SDL_INCLUDE = Path(path)
270267
break
271268
else:
272269
raise AssertionError
273-
SDL_INCLUDE = Path(os.environ["EMSCRIPTEN"], "include")
274270
elif sys.platform == "win32" and SDL_PARSE_PATH is not None:
275271
SDL_INCLUDE = SDL_PARSE_PATH / "include"
276272
elif sys.platform == "darwin" and SDL_PARSE_PATH is not None:

0 commit comments

Comments
 (0)