| How is it a modification? Replacing a dynamic library with another doesn't fit the definition under copyright law or under the GPL. > To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. https://www.gnu.org/licenses/gpl-3.0.en.html For the sake of continuing the hypothetical, let's say I do distribute it. Let's say I make a Linux distro that includes bash and a proprietary derivative of libedit with an API shim (fair use) to make it compatible with GNU readline. What's interesting and potentially problematic is that the FSF clearly interprets dynamic linking to create a derivative work, but the GPL doesn't actually say that. This is found in their commentary at the end of https://www.gnu.org/licenses/gpl-3.0.en.html: > The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. Also see: https://www.gnu.org/licenses/why-not-lgpl.html |
Swapping out one library for another compatible one is a modification of the program.