diff options
| author | Steven Fackler <[email protected]> | 2018-03-31 10:42:25 +0200 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2018-03-31 10:42:25 +0200 |
| commit | 111131e3e465a5664d9583194f12cabe405c78fc (patch) | |
| tree | 55ec0d3df14ca945dddc84839939c7bcc8af0f3f | |
| parent | Remove unneeded build keys (diff) | |
| download | rust-openssl-111131e3e465a5664d9583194f12cabe405c78fc.tar.xz rust-openssl-111131e3e465a5664d9583194f12cabe405c78fc.zip | |
Fix systest against vcpkg-sourced OpenSSL
| -rw-r--r-- | systest/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/systest/build.rs b/systest/build.rs index af74ce2b..98e9ffb3 100644 --- a/systest/build.rs +++ b/systest/build.rs @@ -21,6 +21,9 @@ fn main() { if target.contains("msvc") { cfg.flag("/wd4090"); } + + // https://github.com/sfackler/rust-openssl/issues/889 + cfg.define("WIN32_LEAN_AND_MEAN", None); } if let Ok(_) = env::var("DEP_OPENSSL_LIBRESSL") { |