0012-Fix-ssl-110-detection.patch 1.1 KB

123456789101112131415
  1. diff --git a/configure b/configure
  2. index 2be953f7e7..e075949ffc 100755
  3. --- a/configure
  4. +++ b/configure
  5. @@ -6497,6 +6497,7 @@ enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0
  6. { enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } ||
  7. { enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } ||
  8. check_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl ||
  9. check_pkg_config openssl openssl openssl/ssl.h SSL_library_init ||
  10. + check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto $pthreads_extralibs -ldl ||
  11. check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto ||
  12. check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
  13. check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||