aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-syntax/build.rs')
-rw-r--r--helix-syntax/build.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs
index 2882f513..b73658d1 100644
--- a/helix-syntax/build.rs
+++ b/helix-syntax/build.rs
@@ -71,12 +71,13 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
command
.args(&["/nologo", "/LD", "/I"])
.arg(header_path)
- .arg("/Od")
- .arg(parser_path);
+ .arg("/Od");
if let Some(scanner_path) = scanner_path.as_ref() {
command.arg(scanner_path);
}
+
command
+ .arg(parser_path)
.arg("/link")
.arg(format!("/out:{}", library_path.to_str().unwrap()));
} else {