GPL/LGPL and Static Linking [closed]

為{幸葍}努か 提交于 2019-11-26 12:51:00

问题


I have read on the web that following combination exists :

Proprietary Source code + GPL Source code - > GPL Source code ( All code has to be released under GPL)

Proprietary Source code + LGPL Source code - > Proprietary Source code ( All code remains Proprietary )

Now how does statically/Dynamically linking GPL and LGPL code works with the above combination?


回答1:


If you want to distribute a combined work, you'll have to use the following license;

Proprietary Source code + GPL Source code

  • Either static or dynamically linked: You must release both parts as GPL.

Proprietary Source code + LGPL Source code

  • statically linked:
    • Either you must release both parts as LGPL.
    • Or provide everything that allow the user to relink the application with a different version of the LGPL source code. In this case the other requirements are the same as if it was dynamically linked.
  • dynamically linked: LGPL code stays LGPL, you can keep the proprietary code proprietary.

See also executing a (L)GPL program from proprietary Source code.

Update (November 2014): A Comprehensive Tutorial and Guide contains a clear an detailed description of the (L)GPL and its usage, including distribution. I recommend it for more details.



来源:https://stackoverflow.com/questions/10130143/gpl-lgpl-and-static-linking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!