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`.
|
/// Returns the `name` as the filename of a static library for `target`.
|
||||||
pub fn staticlib(name: &str, target: &str) -> String {
|
pub fn staticlib(name: &str, target: &str) -> String {
|
||||||
if target.contains("windows-msvc") {
|
if target.contains("windows") {
|
||||||
format!("{}.lib", name)
|
format!("{}.lib", name)
|
||||||
} else {
|
} else {
|
||||||
format!("lib{}.a", name)
|
format!("lib{}.a", name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user