I'm considering adding an MIT licensed library to my code as a raw C file. Currently, my library is only licensed under my LGPL license. If I was to add this MIT licensed C file and its corresponding header to my project, how would I implement the license, and would my users also need to add the license to their own code?


1 Answer 1


I will assume that the LGPL library in your second sentence refers to your own code and that you plan to distribute the MIT library with your library. You will have to include somewhere in all your distributions (most likely in a LICENSE file) a notice like:

License for MIT Library
<paste MIT library's original license here>

If anyone decides to use your library and include the MIT library's content in a distribution, they will probably* have to include that notice in the distribution as well.

None of this restricts how you can license any of your LGPL library.

*There is/was a small amount of ambiguity whether binary distributions of MIT software need to include a notice.

  • 1
    Explanation: This is allowed because the GPL allows one to add requirements for reproduction of notices (it's designed to be compatible with licences like MIT), and the MIT doesn't say that copies must remain MIT-licenced (they can be distributed under any licence as long as they follow the MIT rules, which are few).
    – user253751
    Jul 25 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.