it's also compiler-rt.lib on windows-gnu
This commit is contained in:
parent
e5d0bb12ec
commit
521ffe9dbe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user