6 ms·
You should learn more about the distinction between the GPL and the LGPL. Whether you make a library that is GPL and include it in a non GPL program, or you hav
by boucher 17y ago
You should learn more about the distinction between the GPL and the LGPL. Whether you make a library that is GPL and include it in a non GPL program, or you have a GPL program and want to include a non GPL library, both cases require all code to be released as GPL.
The GPL does not care about "library" verus anything else. The GPL is somewhat oriented around the constructs of C, but there have been clarifying guidelines from the FSF and in general its not hard to see how everything fits in for another language.
The LGPL, on the other hand, makes specific exceptions for libraries which are linked into an existing application. So long as a proprietary application is using the library in such a way that it could be removed and replaced for another compatible version, it is not considered a derivative work under the LGPL and is not subject to release.