From 613a9ff7216630bb80d2b905933883155dda6db7 Mon Sep 17 00:00:00 2001 From: Peter Atashian Date: Sun, 25 Oct 2015 05:11:23 -0400 Subject: [PATCH] Explicitly depend on gdi32 and user32 on Windows Since openssl ends up depending on functions from these system libraries, depend on -sys crates that provide these system libraries. --- openssl-sys/Cargo.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/openssl-sys/Cargo.toml b/openssl-sys/Cargo.toml index 045e15eb..1e32f87c 100644 --- a/openssl-sys/Cargo.toml +++ b/openssl-sys/Cargo.toml @@ -39,3 +39,15 @@ libressl-pnacl-sys = "2.1.0" libressl-pnacl-sys = "2.1.0" [target.arm-unknown-nacl.dependencies] libressl-pnacl-sys = "2.1.0" +[target.i686-pc-windows-gnu] +user32-sys = "*" +gdi32-sys = "*" +[target.x86_64-pc-windows-gnu] +user32-sys = "*" +gdi32-sys = "*" +[target.i686-pc-windows-msvc] +user32-sys = "*" +gdi32-sys = "*" +[target.x86_64-pc-windows-msvc] +user32-sys = "*" +gdi32-sys = "*"