mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
Fixes: https://autobuild.buildroot.org/results/261e630f20dd20b7f606a7bcbd8fa7b50ce82fbe/ The build error occurs when libatomic is needed for linking. In ntp_openssl.m4 the result of OpenSSL's pkgconf was omitted. Enable configure option --enable-verbose-ssl to help future debugging: configure: ntp_ssl_libs_l: (-lssl -lcrypto -latomic) Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
610 B
Diff
19 lines
610 B
Diff
Fix OpenSSL detection
|
|
|
|
Upstream: https://bugs.ntp.org/show_bug.cgi?id=3985
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
|
|
diff -uNr ntp-4.2.8p18.orig/sntp/m4/ntp_openssl.m4 ntp-4.2.8p18/sntp/m4/ntp_openssl.m4
|
|
--- ntp-4.2.8p18.orig/sntp/m4/ntp_openssl.m4 2024-05-07 13:21:14.000000000 +0200
|
|
+++ ntp-4.2.8p18/sntp/m4/ntp_openssl.m4 2025-07-06 08:37:14.140657598 +0200
|
|
@@ -326,7 +326,7 @@
|
|
not_found) ;;
|
|
*)
|
|
AC_MSG_NOTICE([Searching for libcrypto in $i])
|
|
- LIBS="-L$i $NTPSSL_SAVED_LIBS"
|
|
+ LIBS="-L$i $ntp_ssl_libs_l $NTPSSL_SAVED_LIBS"
|
|
AC_CHECK_LIB(
|
|
[crypto],
|
|
[EVP_MD_CTX_new],
|