diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-08-17 20:20:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-17 20:20:27 -0700 |
| commit | d70ae9bbb79d19c353f00520c6fbaddf00bfde43 (patch) | |
| tree | 7ec7b43c441b848635b5819add2b7f57ecdda3fa | |
| parent | d6ff46c3be06a003785059b1cc166c0969ac2ddd (diff) | |
| parent | 1627ba19643c18fe9a80e65c8df8bbd2f3ed8432 (diff) | |
| download | rust-d70ae9bbb79d19c353f00520c6fbaddf00bfde43.tar.gz rust-d70ae9bbb79d19c353f00520c6fbaddf00bfde43.zip | |
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,{}`.
| -rw-r--r-- | src/librustc_codegen_ssa/back/linker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/back/linker.rs b/src/librustc_codegen_ssa/back/linker.rs index 5100ef8ad4f..0ddf8bd316f 100644 --- a/src/librustc_codegen_ssa/back/linker.rs +++ b/src/librustc_codegen_ssa/back/linker.rs @@ -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())); } } } |
