From 230c36f2fb158dd8d5dc50c9cb874d16f4723378 Mon Sep 17 00:00:00 2001 From: Reilly Wood <26268125+rgwood@users.noreply.github.com> Date: Thu, 26 May 2022 14:28:59 -0400 Subject: [PATCH] Don't build OpenSSL on Windows (#5651) --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 348c507f6..cbfb290b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,12 +52,15 @@ nu-system = { path = "./crates/nu-system", version = "0.63.1" } nu-table = { path = "./crates/nu-table", version = "0.63.1" } nu-term-grid = { path = "./crates/nu-term-grid", version = "0.63.1" } nu-utils = { path = "./crates/nu-utils", version = "0.63.1" } -openssl = { version = "0.10.38", features = ["vendored"], optional = true } pretty_env_logger = "0.4.0" rayon = "1.5.1" reedline = { version = "0.6.0", features = ["bashisms"]} is_executable = "1.0.1" +[target.'cfg(not(target_os = "windows"))'.dependencies] +# Our dependencies don't use OpenSSL on Windows +openssl = { version = "0.10.38", features = ["vendored"], optional = true } + [dev-dependencies] nu-test-support = { path="./crates/nu-test-support", version = "0.63.1" } tempfile = "3.2.0"