about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2016-09-04 16:24:26 -0500
committerAlex Crichton <alex@alexcrichton.com>2016-09-12 21:22:15 -0700
commit521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847 (patch)
treea1a7a3db0de343c274da65b838ffe37b70435cc3
parente5d0bb12ececde44cfe5bf67224a7557a5b5c8fb (diff)
downloadrust-521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847.tar.gz
rust-521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847.zip
it's also compiler-rt.lib on windows-gnu
-rw-r--r--src/bootstrap/util.rs2
1 files changed, 1 insertions, 1 deletions
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)