diff options
| author | bombless <[email protected]> | 2015-02-13 05:50:21 +0800 |
|---|---|---|
| committer | bombless <[email protected]> | 2015-02-13 05:50:21 +0800 |
| commit | 40f52270645c406a30da81e44c58ac323a2750d1 (patch) | |
| tree | 950671a3a0b69957c54cad8937a82dbe5821de0d /openssl-sys | |
| parent | Release v0.3.6 (diff) | |
| download | rust-openssl-40f52270645c406a30da81e44c58ac323a2750d1.tar.xz rust-openssl-40f52270645c406a30da81e44c58ac323a2750d1.zip | |
Fix Windows build
Diffstat (limited to 'openssl-sys')
| -rw-r--r-- | openssl-sys/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index dece942f..6a3d9a13 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -18,7 +18,7 @@ fn main() { return; } - if target.contains("win32") || target.contains("win64") || target.contains("i386-pc-windows-gnu") || target.contains("x86_64-pc-windows-gnu") { + if target.contains("win32") || target.contains("win64") || target.contains("i686-pc-windows-gnu") || target.contains("x86_64-pc-windows-gnu") { println!("cargo:rustc-flags=-l crypto -l ssl -l gdi32 -l wsock32"); // going to assume the user has a new version of openssl build_old_openssl_shim(false); |