[SDL] License

Gerry JJ trick at icculus.org
Thu Apr 13 02:20:20 PDT 2006


On Thu, 13 Apr 2006 10:18:50 +0200, Alan Wolfe <Atrix2 at cox.net> wrote:
> A. Yes you can, if you link statically (include the sdl source inside  
> your
> game when you compile) you have to make your source code available to the
> public.  If you link dynamically (via .dll's, .so's or using other  
> dynamic
> linking devices) then you do not need to do anything.

If you do put up a FAQ, at least make sure the answers are correct.  You  
do not have to make your source code available even if you statically link  
SDL.  What you have to do is provide a way for people to replace the  
linked SDL library.  This can be done in several ways:

* Link dynamically
* Provide both dynamic and static (but otherwise identical) executables
* Only static, but provide source code
* Only static, but provide relinkable object files
* Only static, but provide a way to override the statically linked SDL
* More (read the LGPL)

Oh, and IANAL, etc.

- Gerry




More information about the SDL mailing list