mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
build.zig: libuserland expects to against libc
This commit is contained in:
1 file changed
+1
@@ -389,6 +389,7 @@ fn addLibUserlandStep(b: *Builder) void {
|
||||
else
|
||||
b.addStaticLibrary("userland", "src-self-hosted/stage1.zig");
|
||||
artifact.disable_gen_h = true;
|
||||
artifact.linkSystemLibrary("c");
|
||||
const libuserland_step = b.step("libuserland", "Build the userland compiler library for use in stage1");
|
||||
libuserland_step.dependOn(&artifact.step);
|
||||
|
||||
|
||||
Reference in new issue
Block a user