Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/softhsm: Search library near softhsm2-util
On macOS, libsofthsm2.so might be installed in /usr/local/lib/libsofthsm2.so, /opt/local/lib/libsofthsm2.so, somewhere in /usr/local/Cellar/softhsm, or on Apple Silicon in /opt/homebrew/lib/libsofths2.so. Simplify searching for it by using $PATH, which we know must already contain softhsm2-util, and then attempt to identify the library relative to that. Signed-off-by: Clemens Lang <cllang@redhat.com>
- Loading branch information