]> 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, 11 Apr 2025 17:45:14 +0000 (20:45 +0300)
commit7945cf75f80a87a65251e8a71b182c7e331e92f6
tree75d40e4fb96c171b175f30b713b7c84bd66dbdb6
parent8b9ce14af04de13b817b752ebdc9bb26867dc79d
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