From 24b4df49d0f36b1addf74956d5be31f03da411d5 Mon Sep 17 00:00:00 2001 From: bombless Date: Fri, 13 Feb 2015 06:22:48 +0800 Subject: [PATCH] Make it safer --- openssl-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index 6a3d9a13..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("i686-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);