diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-09-04 16:24:26 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-09-12 21:22:15 -0700 |
| commit | 521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847 (patch) | |
| tree | a1a7a3db0de343c274da65b838ffe37b70435cc3 | |
| parent | e5d0bb12ececde44cfe5bf67224a7557a5b5c8fb (diff) | |
| download | rust-521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847.tar.gz rust-521ffe9dbe8ed03ea8b2efdfe2b2bc1d6e1d7847.zip | |
it's also compiler-rt.lib on windows-gnu
| -rw-r--r-- | src/bootstrap/util.rs | 2 |
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) |
