I strongly suspect, but will need to go read the relevant documents, that the LGPL will let you do what you want.