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:
Tyler Mandry 2020-08-17 20:20:27 -07:00 committed by GitHub
commit d70ae9bbb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()));
}
}
}