Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License: Add exception to load non-GPL DLL's #86

Open
jespersmith opened this issue Nov 11, 2020 · 2 comments
Open

License: Add exception to load non-GPL DLL's #86

jespersmith opened this issue Nov 11, 2020 · 2 comments

Comments

@jespersmith
Copy link

jespersmith commented Nov 11, 2020

From my interpretation of the GPL, this library can only load DLL's that are compatible with the GPL (loading a dll makes a combined work, which would fall 100% under the GPL). As DLL's are not commonly licensed under the GPL or other open source license (which would allow recompilation for Linux instead of using this library), it would be beneficial to allow this.

If this is by design, feel free to close this issue.

According to the FAQ from the FSF, a workaround would to be to add an exception to the GPL license (https://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs)

For example:


In addition, as a special exception, the copyright holders of LoadLibrary give you permission to combine LoadLibrary with free software programs or libraries that are released under the GNU LGPL and with code included in any DLL library in Portable Executable (PE) format. You may copy and distribute such a system following the terms of the GNU GPL for LoadLibrary and the licenses of the other code concerned.

Note that people who make modified versions of LoadLibrary are not obligated to grant this special exception for their modified versions; it is their choice whether to do so. The GNU General Public License gives permission to release a modified version without this exception; this exception also makes it possible to release a modified version which carries forward this exception.


@taviso
Copy link
Owner

taviso commented Nov 11, 2020

That would be okay with me, but some of the code is derived from ndiswrapper which is GPL2+ (i.e. any version of GPL >= 2), so I don't think it's okay to add my own exceptions. It's not a huge amount of code, so it could be reimplemented if there's a lot of interest.

@trulede
Copy link

trulede commented Jun 19, 2021

Hi, I have a similar situation and wonder if you could indicate where the GPL2+ code is in your project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants