logoalt Hacker News

LeoWattenbergyesterday at 10:10 PM3 repliesview on HN

Copy pasting code is allowed under LGPL, but doing so while removing license headers and attribution of code snippets would not be.


Replies

GuB-42today at 2:39 PM

Only if the code you copy pasted the LGPL part into is licenced under a compatible license, and Apache is not.

The simplest way to comply while keeping your incompatible license is to isolate the LGPL part into a dynamic library, there are other ways, but it is by far the most common.

chiitoday at 6:48 AM

copy/pasting, or using some other mechanism to do digital duplication is irrelevant - the removal of the existing license and essentially _re-license_ without authority is the problem, no matter what the mechanism of including the code is.

merlindrutoday at 2:45 PM

this is accurate and how i should have phrased it. i should not have mentioned dynamic linking; you're right it's not relevant

thank you!