diff options
author | Kevin Burke <kevin@burke.dev> | 2021-11-02 22:14:02 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-11-11 13:47:25 +0100 |
commit | b7757c2b811927ed45588c2ef1a48ab60f11516d (patch) | |
tree | 4f86b3cab77c6c559ea6982ce457d94a762cbf2f /m4 | |
parent | eed7473eebc37ebca98c1e5d72138e339e764d9d (diff) | |
download | curl-b7757c2b811927ed45588c2ef1a48ab60f11516d.tar.gz |
vtls/rustls: update to compile with rustls-ffi v0.8.0
Some method names, as well as the generated library name, were changed
in a recent refactoring.
Further, change the default configuration instructions to check for
Hyper in either "target/debug" or "target/release" - the latter
contains an optimized build configuration.
Fixes #7947
Closes #7948
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-rustls.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/curl-rustls.m4 b/m4/curl-rustls.m4 index 2ac34b366..aa418cc63 100644 --- a/m4/curl-rustls.m4 +++ b/m4/curl-rustls.m4 @@ -39,8 +39,8 @@ if test "x$OPT_RUSTLS" != xno; then if test -z "$OPT_RUSTLS" ; then dnl check for lib first without setting any new path - AC_CHECK_LIB(crustls, rustls_client_session_read, - dnl libcrustls found, set the variable + AC_CHECK_LIB(rustls, rustls_client_session_read, + dnl librustls found, set the variable [ AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled]) AC_SUBST(USE_RUSTLS, [1]) @@ -67,7 +67,7 @@ if test "x$OPT_RUSTLS" != xno; then CPPFLAGS="$CPPFLAGS $addcflags" fi - AC_CHECK_LIB(crustls, rustls_connection_read, + AC_CHECK_LIB(rustls, rustls_connection_read, [ AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled]) AC_SUBST(USE_RUSTLS, [1]) @@ -84,7 +84,7 @@ if test "x$OPT_RUSTLS" != xno; then AC_MSG_NOTICE([detected rustls]) check_for_ca_bundle=1 - LIBS="-lcrustls -lpthread -ldl $LIBS" + LIBS="-lrustls -lpthread -ldl $LIBS" if test -n "$rustlslib"; then dnl when shared libs were found in a path that the run-time |