← Commit list

50b1408f97

Viktor Szakats
Viktor Szakats
2026-05-27
SUCCESS Duration: 252s

Subject

autotools: mbedtls detection fixes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

m4/curl-mbedtls.m4+2 -2
@@ -42,7 +42,7 @@ if test "x$OPT_MBEDTLS" != "xno"; then
if test -z "$OPT_MBEDTLS"; then
dnl check for lib first without setting any new path
- AC_CHECK_LIB(mbedtls, mbedtls_havege_init,
+ AC_CHECK_LIB(mbedtls, mbedtls_ssl_init,
dnl libmbedtls found, set the variable
[
AC_DEFINE(USE_MBEDTLS, 1, [if mbedTLS is enabled])
@@ -58,7 +58,7 @@ if test "x$OPT_MBEDTLS" != "xno"; then
addcflags=""
mbedtlslib=""
- if test "$USE_MBEDTLS" != "yes"; then
+ if test "$USE_MBEDTLS" != "yes" && test -n "$OPT_MBEDTLS"; then
dnl add the path and test again
addld=-L$OPT_MBEDTLS/lib$libsuff
addcflags=-I$OPT_MBEDTLS/include