Skip to content

Commit 521ffe9

Browse files
Jorge Aparicioalexcrichton
Jorge Aparicio
authored andcommitted
it's also compiler-rt.lib on windows-gnu
1 parent e5d0bb1 commit 521ffe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use filetime::FileTime;
2323

2424
/// Returns the `name` as the filename of a static library for `target`.
2525
pub fn staticlib(name: &str, target: &str) -> String {
26-
if target.contains("windows-msvc") {
26+
if target.contains("windows") {
2727
format!("{}.lib", name)
2828
} else {
2929
format!("lib{}.a", name)

0 commit comments

Comments
 (0)