mirror of
https://github.com/ziglang/zig.git
synced 2025-02-16 09:30:17 +00:00
add -lc flag to example so it works on OSes that don't use libc by default
This commit is contained in:
parent
312c6aef6e
commit
a86bc2d3c6
@ -6819,7 +6819,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
{#end_syntax_block#}
|
||||
<p>To compile:</p>
|
||||
{#shell_samp#}$ zig build-exe main.c my_zig_helpers.zig {#end_shell_samp#}
|
||||
{#shell_samp#}$ zig build-exe main.c my_zig_helpers.zig -lc {#end_shell_samp#}
|
||||
{#header_close#}
|
||||
{#header_close#}
|
||||
{#header_open|WebAssembly#}
|
||||
|
Loading…
Reference in New Issue
Block a user