diff options
author | Stefan Eissing <stefan@eissing.org> | 2022-11-10 16:30:16 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-11-10 17:50:51 +0100 |
commit | 89ee5cfb38b22f9ff68c34aa55ca2c242be90826 (patch) | |
tree | 2ed092f88770266471e56103d751242509abc7f4 /m4 | |
parent | b25e4be79f8ff8ebd061672da6680a8ebb37350a (diff) | |
download | curl-89ee5cfb38b22f9ff68c34aa55ca2c242be90826.tar.gz |
curl-rustls.m4: on macOS, rustls also needs the Security framework
Closes #9883
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-rustls.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/curl-rustls.m4 b/m4/curl-rustls.m4 index 6fd8235aa..32fba041e 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 |