mesonbuild / sdl2

Meson build files for SDL2
MIT License
4 stars 6 forks source link

linker errors on windows? #20

Open Rageoholic opened 3 years ago

Rageoholic commented 3 years ago

A lot of CRT functions end up not being defined when compiling SDL2 via Meson, such as srand and rand. In addition, MSVCRTD.lib also has unresolved external symbols.

Rageoholic commented 3 years ago

Apparently setting the build to be static fixes the issue. I do think that's a bit weird though and maybe warrants a bit of looking into?