LGPL 许可证静态链接问题

英文:

Does the LGPL have different requirements for statically vs dynamically linked modules with a covered work? (#LGPLStaticVsDynamic)

For the purpose of complying with the LGPL (any extant version: v2, v2.1 or v3):

  1. If you statically link against an LGPLed library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application.
  2. If you dynamically link against an LGPLed library already present on the user’s computer, you need not convey the library’s source. On the other hand, if you yourself convey the executable LGPLed library along with your application, whether linked with statically or dynamically, you must also convey the library’s sources, in one of the ways for which the LGPL provides.

官方中文:

LGPL对相关软件的静态连接和动态连接模块有不同的要求吗?(#LGPLStaticVsDynamic)
关于遵守LGPL(任何现存版:v2、v2.1或v3)的目的:

  1. 如果你是静态连接一个LGPL库,那么你也必须提供你的应用的目标(不必是源代码)格式,这样用户就有机会修改该库并重新连接成应用。
  2. 如果你是动态连接一个已在用户电脑上的LGPL库,那么你不必输送该库的源代码。另一方面,如果你自己和你的应用一起输送了该LGPL库的可执行形式,无论是静态还是动态连接,那么你也必须输送该库的源文件,按照LGPL要求的一种方式。

你可能感兴趣的:(开源)