3 ms·
If you need to link your code against some GPL code, then your code is GPL. But in most cases, a program that runs in a Linux environment doesn't need to link a
by mh8h 11y ago
If you need to link your code against some GPL code, then your code is GPL. But in most cases, a program that runs in a Linux environment doesn't need to link against any GPL libraries.
- jamiesonbecker 11y agoBecause of this, libraries are frequently licensed under the Lesser GPL instead, which does permit linking without causing the resultant work from becoming GPL'ed itself: https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License#Differences_from_the_GPL https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_Lice... As you point out, linking code against GPL'ed code or libraries essentially merges them and makes the end result GPL'ed as well.