Skip to content

Commit

Permalink
Rollup merge of rust-lang#75603 - mati865:mingw-out-implib-compat, r=…
Browse files Browse the repository at this point in the history
…oli-obk

Use more compatible out-implib style

When calling `rust-lld` directly it accepts only `--out-implib {}` or `--out-implib={}` not `--out-implib,{}`.
  • Loading branch information
tmandry authored Aug 18, 2020
2 parents d6ff46c + 1627ba1 commit d70ae9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_codegen_ssa/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}
}
Expand Down

0 comments on commit d70ae9b

Please sign in to comment.