Rollup merge of #75603 - mati865:mingw-out-implib-compat, r=oli-obk
Use more compatible out-implib style When calling `rust-lld` directly it accepts only `--out-implib {}` or `--out-implib={}` not `--out-implib,{}`.
This commit is contained in:
commit
d70ae9bbb7
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ impl<'a> GccLinker<'a> {
|
|||
if let Some(implib_name) = implib_name {
|
||||
let implib = out_filename.parent().map(|dir| dir.join(&implib_name));
|
||||
if let Some(implib) = implib {
|
||||
self.linker_arg(&format!("--out-implib,{}", (*implib).to_str().unwrap()));
|
||||
self.linker_arg(&format!("--out-implib={}", (*implib).to_str().unwrap()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue