I want to port LGPL library to another platform. This would introduce some changes to the library itself (mostly #ifdefed pieces of code) and also would require me to write additional code to glue library to the platform.
Now, I know that I will have to make available modified library source, and this is no problem. But should I make available that glueing code too? Glueing code is in another dynamically linked library that I intend to sell. Modified LGPL library will compile and link. It will fail later at runtime if glueing library is not available. So technically I comply to the license, except for the fact that library is unuseable without commercialy distributed part. But on the other hand this is no different from dynamically linking to the OS libraries. Without that libraries nothing will work, and they may not be available on platforms that nevertheless can compile library (think Windows / Wine).
So what do you think? Will such port comply to LGPL?