From: Stefan Eissing Date: Thu, 10 Nov 2022 15:30:16 +0000 (+0100) Subject: curl-rustls.m4: on macOS, rustls also needs the Security framework X-Git-Tag: curl-7_87_0~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89ee5cfb38b22f9ff68c34aa55ca2c242be90826;p=thirdparty%2Fcurl.git curl-rustls.m4: on macOS, rustls also needs the Security framework Closes #9883 --- diff --git a/m4/curl-rustls.m4 b/m4/curl-rustls.m4 index 6fd8235aad..32fba041ec 100644 --- a/m4/curl-rustls.m4 +++ b/m4/curl-rustls.m4 @@ -38,6 +38,14 @@ if test "x$OPT_RUSTLS" != xno; then OPT_RUSTLS="" fi + case $host_os in + darwin*) + LDFLAGS="$LDFLAGS -framework Security" + ;; + *) + ;; + esac + if test -z "$OPT_RUSTLS" ; then dnl check for lib first without setting any new path