| ... | @@ -389,6 +389,7 @@ fn addLibUserlandStep(b: *Builder) void { | ... | @@ -389,6 +389,7 @@ fn addLibUserlandStep(b: *Builder) void { |
| 389 | else | 389 | else |
| 390 | b.addStaticLibrary("userland", "src-self-hosted/stage1.zig"); | 390 | b.addStaticLibrary("userland", "src-self-hosted/stage1.zig"); |
| 391 | artifact.disable_gen_h = true; | 391 | artifact.disable_gen_h = true; |
| | 392 | artifact.linkSystemLibrary("c"); |
| 392 | const libuserland_step = b.step("libuserland", "Build the userland compiler library for use in stage1"); | 393 | const libuserland_step = b.step("libuserland", "Build the userland compiler library for use in stage1"); |
| 393 | libuserland_step.dependOn(&artifact.step); | 394 | libuserland_step.dependOn(&artifact.step); |
| 394 | | 395 | |