mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
fix compilation on windows for windows
This commit is contained in:
parent
58c7a21569
commit
d93902cd18
1 changed files with 2 additions and 1 deletions
|
@ -203,7 +203,7 @@ pub fn build_zig_host_native(
|
|||
"build-exe",
|
||||
"-fPIE",
|
||||
shared_lib_path.to_str().unwrap(),
|
||||
&bitcode::get_builtins_host_obj_path(),
|
||||
&bitcode::get_builtins_windows_obj_path(),
|
||||
]);
|
||||
} else {
|
||||
command.args(&["build-obj", "-fPIC"]);
|
||||
|
@ -221,6 +221,7 @@ pub fn build_zig_host_native(
|
|||
// include libc
|
||||
"--library",
|
||||
"c",
|
||||
"-dynamic",
|
||||
// cross-compile?
|
||||
"-target",
|
||||
target,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue