From 472b2d38f723c2084783f7cb04d6bd91a2b3c2b2 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 22 Jun 2019 14:28:52 -0700 Subject: [PATCH] try harder to get openssl vendoring right --- Cargo.toml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1441e3b46..23bba5962 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,16 +61,6 @@ daemonize = "0.4" optional = true path = "deps/fontconfig" -[dependencies.openssl] -optional = true -version = "0.10" - -[target.'cfg(target_os = "macos")'.dependencies] -openssl = { version = "0.10", features = ["vendored"] } - -[target.'cfg(not(windows))'.dependencies] -openssl = "0.10" - # on linux, font-loader pulls in servo-font* crates which conflict with # our newer font related deps, so we avoid it on linux [target.'cfg(any(windows, target_os = "macos"))'.dependencies] @@ -98,8 +88,10 @@ x11 = {version ="2.18", features = ["xlib_xcb"]} xcb = "0.8" xcb-util = { features = [ "icccm", "ewmh", "keysyms", ], version = "0.2" } xkbcommon = { version = "0.4", features = ["x11"] } +openssl = "0.10" [target.'cfg(target_os = "macos")'.dependencies] +openssl = { version = "0.10", features = ["vendored"] } core-foundation = "0.6" core-graphics = "0.17" core-text = "13.2"