Suppose there exists a software library libfoo distributed under the terms of a hypothetical license we will here call The Foo License (TFL). The terms of TFL are identical to those of the 3-clause BSD license, but with one extra condition tacked on:
- No one by the name of Bob may use this software.
Suppose now that I write a piece of software, let's call it bar, that uses libfoo. None of libfoo's code is copied into bar's source code, but when bar is compiled and linked, it also compiles pieces of libfoo and links these into the bar binary.
I am well aware that I cannot distribute the compiled bar binary under for example the GPLv3, because the 4th clause of TFL (which applies to the libfoo code present in the bar binary) is incompatible with the GPL. But: Can I distribute the source code for bar under the GPLv3?