]> 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>
Thu, 7 Nov 2024 15:01:47 +0000 (17:01 +0200)
commit3996b1fddcaa543c8bf349314cac3ab4b07b4d1d
treecb2e10b012d887ba4b2daf8320a59ede183eba7b
parent7c310c9b0439a020add4c23d84ab33eeb486bd75
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 options, '--test' and '--check'.
* doc/libtool.texi: Document new options in libtool.
* NEWS: Update for bug fix.
NEWS
build-aux/ltmain.in
doc/libtool.texi