aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-08-10 22:13:17 -0700
committerSteven Fackler <[email protected]>2016-08-10 22:13:17 -0700
commit0cc863e8576808e73669e0d96a6e63ae46a308ee (patch)
tree57605438d8800bd70f2ed8b8a41e8964f308517e
parentFix tests (diff)
downloadrust-openssl-0cc863e8576808e73669e0d96a6e63ae46a308ee.tar.xz
rust-openssl-0cc863e8576808e73669e0d96a6e63ae46a308ee.zip
Use new target syntax for windows stuff
-rw-r--r--openssl-sys/Cargo.toml11
1 files changed, 1 insertions, 10 deletions
diff --git a/openssl-sys/Cargo.toml b/openssl-sys/Cargo.toml
index 9e923eb0..d1c0bd80 100644
--- a/openssl-sys/Cargo.toml
+++ b/openssl-sys/Cargo.toml
@@ -42,15 +42,6 @@ libressl-pnacl-sys = "2.1.0"
libressl-pnacl-sys = "2.1.0"
# Only here to make sure we link to these in a static build on Windows
-[target.i686-pc-windows-gnu.dependencies]
-user32-sys = "0.2"
-gdi32-sys = "0.2"
-[target.x86_64-pc-windows-gnu.dependencies]
-user32-sys = "0.2"
-gdi32-sys = "0.2"
-[target.i686-pc-windows-msvc.dependencies]
-user32-sys = "0.2"
-gdi32-sys = "0.2"
-[target.x86_64-pc-windows-msvc.dependencies]
+[target.'cfg(windows)'.dependencies]
user32-sys = "0.2"
gdi32-sys = "0.2"