Skip to content

Commit

Permalink
Don't include main.c in libSDL_mixer (emscripten-core#21322)
Browse files Browse the repository at this point in the history
This was broken when sdl2_mixer was updated recently in in emscripten-core#21013.

Fixes: emscripten-core#21321
  • Loading branch information
sbc100 authored and mrolig5267319 committed Feb 23, 2024
1 parent 2a04aa7 commit 3dc1f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3405,7 +3405,7 @@ def test_sdl2_misc_via_object(self):

@no_wasm64('SDL2 + wasm64')
@parameterized({
'dash_s': (['-sUSE_SDL=2', '-sUSE_SDL_MIXER=2'],),
'': (['-sUSE_SDL=2', '-sUSE_SDL_MIXER=2'],),
'dash_l': (['-lSDL2', '-lSDL2_mixer'],),
})
@requires_sound_hardware
Expand Down
1 change: 1 addition & 0 deletions tools/ports/sdl2_mixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def create(final):
exclude_files=[
'playmus.c',
'playwave.c',
'main.c',
],
exclude_dirs=[
'native_midi',
Expand Down

0 comments on commit 3dc1f2e

Please sign in to comment.