break --subsystem=x into 2 args; closer to former presumably known-good incantation

This commit is contained in:
alecmocatta 2018-07-24 02:11:57 +01:00
parent 22d0ab0bc3
commit 296a179b1c
No known key found for this signature in database
GPG Key ID: 68DEC96448342625
1 changed files with 2 additions and 1 deletions

View File

@ -449,7 +449,8 @@ impl<'a> Linker for GccLinker<'a> {
}
fn subsystem(&mut self, subsystem: &str) {
self.linker_arg(&format!("--subsystem={}", subsystem));
self.linker_arg("--subsystem");
self.linker_arg(&subsystem);
}
fn finalize(&mut self) -> Command {