]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix linking order for OpenSSL libraries
authorMark Andrews <marka@isc.org>
Fri, 22 Jan 2021 04:59:03 +0000 (15:59 +1100)
committerMark Andrews <marka@isc.org>
Tue, 16 Feb 2021 23:38:25 +0000 (10:38 +1100)
commit0bcf09fe45a2fc4531d470b1b42f4326007ee1e8
treed32107fe2a66f60bc96ea50e2e445cb3ed50b850
parent24ed8d78e26c51748899b0cf7a011e8970fd0fe6
Fix linking order for OpenSSL libraries

As libssl depends on libcrypto, -lssl needs to precede -lcrypto in
linker invocations or else the build will fail with static OpenSSL
libraries.  Adjust m4/ax_check_openssl.m4 to prevent this issue from
getting triggered when pkg-config files for OpenSSL are not available.

(cherry picked from commit 9223c7d59955f26d0898b27f2a758a176822cce9)
m4/ax_check_openssl.m4