]> git.ipfire.org Git - thirdparty/curl.git/commit
m4: add security frameworks on Mac when compiling rustls
authorKevin Burke <kevin@burke.dev>
Sat, 24 Apr 2021 21:20:08 +0000 (14:20 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 25 Apr 2021 21:30:08 +0000 (23:30 +0200)
commit9f71cc293feced65a062e7f408c8a49435f41f79
tree1e57ba7138f349b4b54552aaf9532b7f80b96693
parent7843fe0a1ba495d8e108115be0f1bab4cf86beb9
m4: add security frameworks on Mac when compiling rustls

Previously compiling rustls on Mac would only complete if you also
compiled the SecureTransport TLS backend, which curl would prefer to
the Rust backend.

Appending these flags to LDFLAGS makes it possible to compile the
Rustls backend on Mac without the SecureTransport backend, which means
this patch will make it possible for Mac users to use the Rustls
backend for TLS.

Reviewed-by: Jacob Hoffman-Andrews
Fixes #6955
Cloes #6956
m4/curl-rustls.m4