diff --git a/libs/SDLMixerX/SRB2Note.txt b/libs/SDLMixerX/SRB2Note.txt index 7663091c46438d3ebcdb65697201e80e1605775c..6036d394e2d9742be9489492af34db4283c83e27 100644 --- a/libs/SDLMixerX/SRB2Note.txt +++ b/libs/SDLMixerX/SRB2Note.txt @@ -1 +1,7 @@ i686-w64-mingw32/bin/libfluidsynth-2.dll was grabbed from GZDoom v3.5.1, because this build does not have glib, gthread, or sndfile external dependencies. + +sdl_mixer_ext2.dll requires libgcc and libstdc++ external dependencies. While passing to the linker "-Bstatic -lgcc" works fine, adding "-lstdc++" to -Bstatic generates linker errors. + +Hence, libstdc++ needs to be bundled as DLL (and consequently, libgcc.) + +If you try to build yourself, make sure -lstdc++ does not follow -Bdynamic in the linker flags, because otherwise it will link to the DLL. diff --git a/libs/SDLMixerX/SRB2Note_cmakeflags.png b/libs/SDLMixerX/SRB2Note_cmakeflags.png new file mode 100644 index 0000000000000000000000000000000000000000..ffcf269a401c5a545630adbcb4e9ed69f4bd6c56 Binary files /dev/null and b/libs/SDLMixerX/SRB2Note_cmakeflags.png differ