]> git.lizzy.rs Git - rust.git/commitdiff
it's also compiler-rt.lib on windows-gnu
authorJorge Aparicio <japaricious@gmail.com>
Sun, 4 Sep 2016 21:24:26 +0000 (16:24 -0500)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 13 Sep 2016 04:22:15 +0000 (21:22 -0700)
src/bootstrap/util.rs

index dfc1c7a243b5b1238e3f0513550f464366ecb90d..6c0a32a54d919bf1a001d4c609e030426b0462b8 100644 (file)
@@ -23,7 +23,7 @@
 
 /// 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)