Skip to content

Commit da8403b

Browse files
committed
build.zig: libuserland expects to against libc
1 parent 89763c9 commit da8403b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ fn addLibUserlandStep(b: *Builder) void {
389389
else
390390
b.addStaticLibrary("userland", "src-self-hosted/stage1.zig");
391391
artifact.disable_gen_h = true;
392+
artifact.linkSystemLibrary("c");
392393
const libuserland_step = b.step("libuserland", "Build the userland compiler library for use in stage1");
393394
libuserland_step.dependOn(&artifact.step);
394395

0 commit comments

Comments
 (0)