Branch: refs/heads/soname Home: https://github.com/kronosnet/kronosnet Commit: 8b1cf1b6ab27defca8b5181fd44d2bbdd704a4b2 https://github.com/kronosnet/kronosnet/commit/8b1cf1b6ab27defca8b5181fd44d2b... Author: Ferenc Wágner wferi@debian.org Date: 2017-11-20 (Mon, 20 Nov 2017)
Changed paths: M configure.ac M libknet/compress_bzip2.c M libknet/compress_lz4.c M libknet/compress_lzma.c M libknet/compress_lzo2.c M libknet/compress_zlib.c M libknet/crypto_nss.c M libknet/crypto_openssl.c
Log Message: ----------- build: determine the plugin SONAMEs automatically
Most importantly, this avoids dlopening libcrypto.so, which is a symlink in the OpenSSL development packages on Linux. Rather, we use the SONAME of the first library added by pkg-config, which seems to work well across the board. The strange case is NSS, which ends up using libssl3.so on CentOS, Fedora and RedHat, but libnss3.so on Debian, FreeBSD and Ubuntu. The tests pass regardless, so this might be tolerable.