From 521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 4 Sep 2016 16:24:26 -0500 Subject: [PATCH] it's also compiler-rt.lib on windows-gnu --- src/bootstrap/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs index dfc1c7a243b..6c0a32a54d9 100644 --- a/src/bootstrap/util.rs +++ b/src/bootstrap/util.rs @@ -23,7 +23,7 @@ use filetime::FileTime; /// Returns the `name` as the filename of a static library for `target`. pub fn staticlib(name: &str, target: &str) -> String { - if target.contains("windows-msvc") { + if target.contains("windows") { format!("{}.lib", name) } else { format!("lib{}.a", name)