lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 10-04-2012 08:44, Marc Balmer wrote:
What impact does the license of a Lua module have on the requiring (i.e.
calling) Lua program?

If a Lua module is GPLed, does using that module with 'require' make my
Lua program a derivative work as per GPL terms or is it merely running
the program as per GPL terms? The latter case would mean that my Lua
program needs not be published under the GPL.
My understanding is that requires a LGPL license on the module.

From http://www.gnu.org/licenses/gpl-faq.html#GPLPluginsInNF

"If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. This means that combination of the GPL-covered plug-in with the non-free main program would violate the GPL. However, you can resolve that legal problem by adding an exception to your plug-in's license, giving permission to link it with the non-free main program."

/Erik