With the commit
5931236 where
winmm has been added as dependency to
sfml-system SFML is now in a state where it can't be built static with or without static runtime libraries on Windows with any MinGW version. I tested TDM 4.7.1, MinGW Builds POSIX SJLJ 8.4.1, Older Nuwen x86 4.7.1, new Nuwen x64 4.8.1, Old official MinGW version, official MinGW 4.8.1 version and even MinGW 4.9-testing, etc.
It was also tested on Windows 7 as well as 8.1 and others.
So why am I posting this here? Because this topic here is exactly the issue, why SFML is crashing in the linker. The macro that "magically" includes every dependency into SFML up on static linking leads to the case the both
sfml-window and
sfml-system have their own version of
winmm and when linking both libraries ld crashes "somewhere".
Now that we have an even more concrete reason why including everything into SFML is a
bad idea, can we finally get a change and throw that horrible macro out? Please?
If you want another topic for the issue specific and/or a ticket let me know!
Phew "wasted" 3 days to track this issue down...