Consider the following scenario:
- I am developing a closed-source commercial application.
- I find a LGPL-licensed library providing some functionality I would like to use in my application.
- Said functionality is limited to a few functions and/or classes.
- For practical and/or technical reasons, it's not possible and/or feasible to link to the entire library, either statically or dynamically. Because of this, I copy the relevant functions/classes into my own code base.
- To make the copied functions/classes compatible with my application and/or development environment, I make some minor modifications to them.
- The modifications do not add any new functionality not already included in the library from which the original functions/classes where taken.
Would this be a violation of the LGPL, and if so, what would I need to do to comply with it?
I realize that I ideally should be releasing the new "library" with my modifications under LGPL, but this doesn't make much sense when the modified code can't be used on its own, thus making it completely useless to anyone else.