USE_RUSTLS="yes"
ssl_msg="rustls"
test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
- ], [], -lpthread -ldl)
+ ], [], -lpthread -ldl -lm)
fi
- addld=""
- addlib="-lpthread"
- addcflags=""
- bearssllib=""
-
if test "x$USE_RUSTLS" != "xyes"; then
dnl add the path and test again
addld=-L$OPT_RUSTLS/lib$libsuff
test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
],
AC_MSG_ERROR([--with-rustls was specified but could not find rustls.]),
- -lpthread -ldl)
+ -lpthread -ldl -lm)
fi
if test "x$USE_RUSTLS" = "xyes"; then
AC_MSG_NOTICE([detected rustls])
check_for_ca_bundle=1
- LIBS="-lrustls -lpthread -ldl $LIBS"
+ LIBS="-lrustls -lpthread -ldl -lm $LIBS"
if test -n "$rustlslib"; then
dnl when shared libs were found in a path that the run-time