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.
This commit is contained in:
Peter Atashian 2015-10-25 05:11:23 -04:00
parent 0b76ee3bd9
commit 613a9ff721
1 changed files with 12 additions and 0 deletions

View File

@ -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 = "*"