Skip to content

Commit 3fecd32

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 9ee1c17 commit 3fecd32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build_sdl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ def get_emscripten_include_dir() -> Path:
314314
matches = [str(Path(sysroot, "include"))]
315315
library_dirs.append(str(Path(sysroot, "lib/wasm32-emscripten")))
316316
out = ""
317+
extra_compile_args.append("-shared")
318+
extra_link_args.append("-shared")
317319
else:
318320
cmake_out = subprocess.run(
319321
(*CMAKE_FIND_SDL_CMD, "-D", "MODE=COMPILE"), check=False, text=True, stdout=subprocess.PIPE

0 commit comments

Comments
 (0)