Can library license depend on preprocessor definitions? [on hold]

Published: 18/09/2019
Can library license depend on preprocessor definitions? [on hold]
Source: SOFTWAREENGINEERING.STACKEXCHANGE.COM

Let's assume there is a library. And this lib can use one of 2 other libs. One is GPL and another is LGPL. Can I keep my lib under a permissive license though allow a user to use the GPLed lib if he is ready to licence his copy under GPL by using preprocessor? I mean use #ifdef USE_GPLED_LIB #include <gpled.hpp> #else #include <lgpled.hpp> #endif and similar construct in sensible plac

Read more
Related news
Comment
FACEBOOK