]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool.m4: Fix postdeps in NetBSD
authorAnthony Mallet <anthony.mallet@laas.fr>
Sun, 23 Mar 2025 12:56:14 +0000 (13:56 +0100)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Fri, 28 Mar 2025 16:34:16 +0000 (18:34 +0200)
commitb26f7c36fb2094d4f2ea7c0c76b2f2da351201b3
tree75d40e4fb96c171b175f30b713b7c84bd66dbdb6
parenta83ba2ff5ed1c0c0ee10957b4faf8d06dca27a6d
libtool.m4: Fix postdeps in NetBSD

commit:c7be1f229 addresses an issue with building C++ modules on NetBSD, by
removing -lgcc_s and -lgcc. This may sometimes not work correctly, depending
on the architecture, as libgcc_s.so and libgcc.a may contain required code to
properly link the shared object. On NetBSD, libgcc.a is compiled with -fPIC
and can be linked to a shared object without any issue.

Reported: https://savannah.gnu.org/support/index.php?111210
m4/libtool.m4