@@ -271,7 +271,7 @@ def get_emscripten_include_dir() -> Path:
271271 blank_source .write_text ("" )
272272 subprocess .run (["emcc" , "--use-port=sdl3" , blank_source ], check = True )
273273
274- check_sdl_version ()
274+ # check_sdl_version()
275275
276276SDL_PARSE_PATH : Path | None = None
277277SDL_BUNDLE_PATH : Path | None = None
@@ -404,12 +404,11 @@ def get_cdef() -> tuple[str, dict[str, str]]:
404404 extra_link_args += ["-rpath" , "/usr/local/opt/llvm/lib/" ]
405405
406406if "PYODIDE" in os .environ :
407- print (f"""EMCC CFLAGS: { subprocess .check_output (["emcc" , "--use-port=sdl3" , "--cflags" ], text = True )!r} """ )
408407 extra_compile_args += ["--use-port=sdl3" ]
409408 extra_link_args += ["--use-port=sdl3" ]
410409 cmake_cmd = ("cmake" , "--find-package" , "-D" , "NAME=SDL3" , "-D" , "COMPILER_ID=GNU" , "-D" , "LANGUAGE=C" )
411- extra_compile_args += subprocess .check_output ((* cmake_cmd , "-DMODE =COMPILE" ), text = True ).strip ().split ()
412- extra_link_args += subprocess .check_output ((* cmake_cmd , "-DMODE =LINK" ), text = True ).strip ().split ()
410+ extra_compile_args += subprocess .check_output ((* cmake_cmd , "-D" , "MODE =COMPILE" ), text = True ).strip ().split ()
411+ extra_link_args += subprocess .check_output ((* cmake_cmd , "-D" , "MODE =LINK" ), text = True ).strip ().split ()
413412 print (f"{ extra_compile_args = } " )
414413 print (f"{ extra_link_args = } " )
415414elif sys .platform not in ["win32" , "darwin" ]:
0 commit comments