1

This link tells me not to use MIT under my license when redistributing the Apache 2.0 source code.

Then, if Apache 2.0 or GPL source code is not included, only when specified in the header file and used as a library? (Build file distribution x)

Here's an example:

//if something.h is apache2.0 license
#include <something.h>

something.use() // and this code under mit

Mureinik
  • 5,112
  • 3
  • 31
  • 42
Ko wa
  • 11
  • 3
  • Please provide details of what you are trying to do. I am not clear if I fully understand your question. – Martin_in_AUT Jan 25 '22 at 16:43
  • @Martin_in_AUT I would like to share a project that uses a library with a GPL license. However, those GPL library codes are not included in the repo. I also do not share programs. I only share the code I wrote, not the GPL library. The user has to find the library from other places on his own to build the program. Should my code itself be GPL in this situation? – Ko wa Apr 26 '22 at 04:21
  • Your question is very similar to several previous questions, like these: https://opensource.stackexchange.com/questions/9085/can-i-distribute-non-gpl-code-that-uses-gpl-code-as-long-as-i-dont-distribute-m and https://opensource.stackexchange.com/questions/2139/can-i-license-python-project-under-3-clause-bsd-while-it-has-gpl-based-dependenc and https://opensource.stackexchange.com/questions/6033/can-a-non-gpl-python-program-use-gpl-python-module . Please check if you can find the answer there, or explain what is still open. – Martin_in_AUT Apr 27 '22 at 08:42

0 Answers0