use vendored ssl on mac

This commit is contained in:
Jonathan Kelley 2024-03-26 22:26:54 -07:00
parent 0826367e4f
commit fd64d1a419
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
2 changed files with 5 additions and 0 deletions

1
Cargo.lock generated
View file

@ -2043,6 +2043,7 @@ dependencies = [
"mlua",
"notify",
"open",
"openssl",
"prettyplease",
"rayon",
"reqwest",

View file

@ -98,6 +98,10 @@ env_logger = "0.11.3"
tracing-subscriber = "0.3.18"
tracing = { workspace = true }
# on maco, we need to specify the vendored feature on ssl when cross compiling
[target.'cfg(target_os = "macos")'.dependencies]
openssl = { version = "0.10", features = ["vendored"], optional = true }
[features]
default = []
plugin = ["mlua"]