Closed kcgen closed 6 years ago
Please make it to be an option to choose which version of SDL2 to pull: stable release or dev one from HG. Myself I using most fresh SDL2 as sometimes I finding bugs in it and I posting fixes of them to SDL2 team and there are accepting them.
Look to my AppVeyor builds are using MinGW-w64 and successfully compiling, pulling, unpacking SDL2 from HG. I bet you have forgot to install bzip2 into your msys2...
Okay, tomorrow I'll take this for polishing and then merge after set of changes... For now I have tired after a hard day.
I have merged this with some of changes I have made by myself. I have added two options:
BUILD_SDL2_SHARED
where you can enable or disable shared build of downloading SDL2BUILD_SDL2_STATIC
where you can enable or disable static build of downloading SDL2
Solves https://github.com/WohlSoft/SDL-Mixer-X/issues/21, which is due a flaw in Mercurial's generated tar.bz2 file.
Using SDL2's tar.gz file now extracts cleanly: