]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: Fix local testing of shared libraries on OpenBSD
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 7 Nov 2024 14:29:19 +0000 (16:29 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 20 Nov 2024 15:03:12 +0000 (17:03 +0200)
commit1bda2465d7072e88989c2a3365b136bc3a3bb049
tree179448f168ae7a17e651e36f6db426bbfedeb08a
parent323d8a5dfd80b9e3eb649cdf2a08a7cb9d6ba833
libtool: Fix local testing of shared libraries on OpenBSD

On OpenBSD 7.5, the shared library cache is updated with finish_cmds,
which causes the test for 'Use local version' to fail. Simply, installed
versions of shared libraries take precedence over those locally built.

To ensure local versions of shared libraries can be tested properly and
more easily, additional options have been added to libtool to skip
executing finish_cmds, like 'ldconfig -m $libdir' in OpenBSD.

* build-aux/ltmain.in: Add libtool option, '--no-finish.
* doc/libtool.texi: Document new option in libtool.
* NEWS: Update.
NEWS
build-aux/ltmain.in
doc/libtool.texi