aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Atashian <[email protected]>2015-10-25 05:11:23 -0400
committerPeter Atashian <[email protected]>2015-10-25 05:11:23 -0400
commit613a9ff7216630bb80d2b905933883155dda6db7 (patch)
treea7309c635399adc4de501508eb6c6476ffeef5b9
parentMerge pull request #294 from alexcrichton/nonblocking-tests (diff)
downloadrust-openssl-613a9ff7216630bb80d2b905933883155dda6db7.tar.xz
rust-openssl-613a9ff7216630bb80d2b905933883155dda6db7.zip
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.
-rw-r--r--openssl-sys/Cargo.toml12
1 files changed, 12 insertions, 0 deletions
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 = "*"