2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch '2402-bind-9-16-11-build-fails-with-static-openssl-library' into 'main'

Resolve "BIND 9.16.11 build fails with static OpenSSL library"

Closes #2402

See merge request isc-projects/bind9!4591
This commit is contained in:
Mark Andrews 2021-02-16 23:29:53 +00:00
commit 59a0637a8f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
5582. [bug] BIND 9 failed to build when static OpenSSL libraries
were used and the *.pc files for libssl and/or libcrypto
were unavailable. This has been fixed by ensuring the
correct linking order for libssl and libcrypto is always
used. [GL #2402]
5581. [bug] Fix memory leak happening when inline-signed zones
were added to the configuration followed by a
reconfiguration of named. [GL #2041]

View File

@ -68,7 +68,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
AS_IF([test -f "$ssldir/include/openssl/ssl.h"],
[
OPENSSL_CFLAGS="-I$ssldir/include"
OPENSSL_LIBS="-L$ssldir/lib -lcrypto -lssl"
OPENSSL_LIBS="-L$ssldir/lib -lssl -lcrypto"
found=true
AC_MSG_RESULT([yes])
break