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"