aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-02-12 15:11:52 -0800
committerSteven Fackler <[email protected]>2015-02-12 15:11:52 -0800
commit370dba4a2caafe8afd5fc23eaa3a4718a41c2528 (patch)
tree0149efc67962b355ebceb36e980826cbe5fa35a2
parentRelease v0.3.6 (diff)
parentMake it safer (diff)
downloadrust-openssl-370dba4a2caafe8afd5fc23eaa3a4718a41c2528.tar.xz
rust-openssl-370dba4a2caafe8afd5fc23eaa3a4718a41c2528.zip
Merge pull request #161 from bombless/fix-windows
Fix Windows build
-rw-r--r--openssl-sys/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs
index dece942f..50972054 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("windows") {
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);