--subsystem needs -Wl when using non-ld linkers
This commit is contained in:
parent
2fed2a2395
commit
251d9be429
@ -363,7 +363,7 @@ impl<'a> Linker for GccLinker<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn subsystem(&mut self, subsystem: &str) {
|
fn subsystem(&mut self, subsystem: &str) {
|
||||||
self.cmd.arg(&format!("--subsystem,{}", subsystem));
|
self.linker_arg(&format!("--subsystem,{}", subsystem));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn finalize(&mut self) -> Command {
|
fn finalize(&mut self) -> Command {
|
||||||
|
Loading…
Reference in New Issue
Block a user