Try to rearrange the file order?

pull/448/head
Blaž Hrastnik 3 years ago
parent c8dc9b64dd
commit a7fa5621ce

@ -71,12 +71,13 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
command command
.args(&["/nologo", "/LD", "/I"]) .args(&["/nologo", "/LD", "/I"])
.arg(header_path) .arg(header_path)
.arg("/Od") .arg("/Od");
.arg(parser_path);
if let Some(scanner_path) = scanner_path.as_ref() { if let Some(scanner_path) = scanner_path.as_ref() {
command.arg(scanner_path); command.arg(scanner_path);
} }
command command
.arg(parser_path)
.arg("/link") .arg("/link")
.arg(format!("/out:{}", library_path.to_str().unwrap())); .arg(format!("/out:{}", library_path.to_str().unwrap()));
} else { } else {

Loading…
Cancel
Save