Skip to content

Commit d82da33

Browse files
committed
Add changelog entry for SDL2 update. NFC
Also remove the no-longer-needed `linker_setup` function. SDL2 now uses EM_JS_DEPS to achieve this. Followup to emscripten-core#21337
1 parent 5355b8d commit d82da33

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ See docs/process.md for more on how version tagging works.
2323

2424
3.1.54 - 02/15/24
2525
-----------------
26+
- SDL2 port updated from v2.24.2 to v2.26.0. (#21337)
2627
- The `DEMANGLE_SUPPORT` setting and the associated `demangle` function are
2728
now deprecated since Wasm stack traces always contain demangled symbols these
2829
days. (#21346)

tools/ports/sdl2.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ def clear(ports, settings, shared):
8181
shared.cache.erase_lib(get_lib_name(settings))
8282

8383

84-
def linker_setup(ports, settings):
85-
# TODO(sbc): Move these into native code use EM_JS_DEPS macro.
86-
settings.DEFAULT_LIBRARY_FUNCS_TO_INCLUDE += ['$autoResumeAudioContext', '$dynCall']
87-
88-
8984
def process_args(ports):
9085
return ['-isystem', ports.get_include_dir('SDL2')]
9186

0 commit comments

Comments
 (0)