mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Add --libary c when building zig hosts
This commit is contained in:
parent
0342330c0e
commit
4a72ae8ed0
1 changed files with 6 additions and 1 deletions
|
@ -55,7 +55,12 @@ pub fn rebuild_host(host_input_path: &Path) {
|
|||
let output = Command::new("zig")
|
||||
.env_clear()
|
||||
.env("PATH", &env_path)
|
||||
.args(&["build-obj", zig_host_src.to_str().unwrap()])
|
||||
.args(&[
|
||||
"--library",
|
||||
"c",
|
||||
"build-obj",
|
||||
zig_host_src.to_str().unwrap(),
|
||||
])
|
||||
.output()
|
||||
.unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue