Merge pull request #161 from bombless/fix-windows

Fix Windows build
This commit is contained in:
Steven Fackler 2015-02-12 15:11:52 -08:00
commit 370dba4a2c
1 changed files with 1 additions and 1 deletions

View File

@ -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);