Make it safer

This commit is contained in:
bombless 2015-02-13 06:22:48 +08:00
parent 40f5227064
commit 24b4df49d0
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fn main() {
return; 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"); println!("cargo:rustc-flags=-l crypto -l ssl -l gdi32 -l wsock32");
// going to assume the user has a new version of openssl // going to assume the user has a new version of openssl
build_old_openssl_shim(false); build_old_openssl_shim(false);