Statically link OpenSSL (#5349)

This commit is contained in:
Reilly Wood 2022-04-27 17:25:09 -07:00 committed by GitHub
parent 5f35e4ad1e
commit 55e5106695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

11
Cargo.lock generated
View File

@ -2270,6 +2270,7 @@ dependencies = [
"nu-table",
"nu-term-grid",
"nu-test-support",
"openssl",
"pretty_assertions",
"pretty_env_logger",
"rayon",
@ -2789,6 +2790,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "111.18.0+1.1.1n"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7897a926e1e8d00219127dc020130eca4292e5ca666dd592480d72c3eca2ff6c"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.72"
@ -2798,6 +2808,7 @@ dependencies = [
"autocfg",
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

View File

@ -51,6 +51,7 @@ nu-protocol = { path = "./crates/nu-protocol", version = "0.61.1" }
nu-system = { path = "./crates/nu-system", version = "0.61.1" }
nu-table = { path = "./crates/nu-table", version = "0.61.1" }
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.61.1" }
openssl = { version = "0.10.38", features = ["vendored"] } # Force subdependencies to statically link OpenSSL
pretty_env_logger = "0.4.0"
rayon = "1.5.1"
reedline = { git = "https://github.com/nushell/reedline", branch = "main", features = ["bashisms"]}