Original Post
🔒 Locked
SDL
Advertisement
Yes. SDL uses the LGPL license (Library General Public License), which isn''t as strict as the GPL. Any incarnations of SDL itself have to be released under the LGPL (just like the GPL), but you can release another program with the library without having to release it under the LGPL.
The official zorx website
The official zorx website
quote:
Original post by clum
Though I''m not sure if you can statically link it.
The LGPL requires that the recipient of the software linking to an LGPL library must be able to replace and modify the LGPL library. So, no, you cannot normally statically link to SDL without additional effort (distributing object files and such). However, SDL''s license allows for embedded platforms that cannot perform dynamic linking to potentially statically link to SDL (for more information on that, you''d have to check the libsdl page and/or ask on the mailing list).
In short: follow the directions here.

Bioware''s Neverwinter Nights Linux port uses SDL as well.
Josh
vertexnormal AT linuxmail DOT org
Check out Golem: Lands of Shadow, an isometrically rendered hack-and-slash inspired equally by Nethack and Diablo.
Josh
vertexnormal AT linuxmail DOT org
Check out Golem: Lands of Shadow, an isometrically rendered hack-and-slash inspired equally by Nethack and Diablo.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement