I have a good understanding of GPL, LGPL, dual-licensing, etc. However I have a specific doubt about the meaning of "linking" in the LGPL.
Suppose that:
- The library is released under the LGPL
- You are not the original copyright holder (or not entirely the owner, due to contributions received under the LGPL)
- You want to sell a Pro / Enterprise version of the library under a commercial license
This is clear: if you need to modify the source code of the library, then you cannot release it under a commercial license (LGPL clearly covers the derived work - i.e. the Pro / Enterprise version).
However, what if the Pro / Enterprise version only "imports" / "includes" / "requires" the community version, without modifying its source code? In that case, can I use a commercial license for the Pro / Enterprise version and say that the LGPL does not apply to the new code?
Note: I use the word "import", "include", "require" because I am talking about languages like Javascript, PHP or Ruby that don't have the concept of "linking".