OK, the library doesn't have to have a license, or it can be public domain.syzygy wrote:If the author created all the code himself, he can release it however he wants. An author can't infringe his own copyright.velmarin wrote:What is clear to me is that in this world of chess programming," the trees don't let them see the forest".
Suppose an author decides to create a routine for a game, this creates a visual effect when called,
the name "impact", decides to save its code and makes a library called impact. lib, easy to run for example with a single routine.
Now to test it and make it known, he creates an open source game program under the GPL, he releases it with its statically linked. lib impact.
Of course include impact. lib in the final package
And you say it's not legal........
But if A writes a GPLv3 libray and B writes a program linking to that library and releases one executable that includes his own code and the statically linked library, then B almost certainly infringes the copyright of A.
If A releases the library under the GPLv2, then the situation is a bit less clear.
You in your example put license on it.
If library A of public domain is linked to project with GPL,
It's not legal