2
1

0005-fix-openssl-configure.patch 610 B

123456789101112131415161718
  1. Fix OpenSSL detection
  2. Upstream: https://bugs.ntp.org/show_bug.cgi?id=3985
  3. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  4. diff -uNr ntp-4.2.8p18.orig/sntp/m4/ntp_openssl.m4 ntp-4.2.8p18/sntp/m4/ntp_openssl.m4
  5. --- ntp-4.2.8p18.orig/sntp/m4/ntp_openssl.m4 2024-05-07 13:21:14.000000000 +0200
  6. +++ ntp-4.2.8p18/sntp/m4/ntp_openssl.m4 2025-07-06 08:37:14.140657598 +0200
  7. @@ -326,7 +326,7 @@
  8. not_found) ;;
  9. *)
  10. AC_MSG_NOTICE([Searching for libcrypto in $i])
  11. - LIBS="-L$i $NTPSSL_SAVED_LIBS"
  12. + LIBS="-L$i $ntp_ssl_libs_l $NTPSSL_SAVED_LIBS"
  13. AC_CHECK_LIB(
  14. [crypto],
  15. [EVP_MD_CTX_new],