[SDL] Embed SDL.dll in the .exe

Gregory Smith wolfy at treellama.org
Wed Sep 26 04:39:36 PDT 2007


David Olofson wrote:

> If all else fails, simply don't have dynamically linked libs installed 
> when you link your executable. The linker will have no choice but to 
> use the static versions. :-)

This is the only way I was able to get it work. I distribute a big (GPL)
 .exe with all the non-windows libraries compiled in. I built all the
libraries with --disable-shared passed to each one's configure script.

Using mingw gcc, cross-build, here.

Gregory


More information about the SDL mailing list