zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit da8403bcdd6fb6928a26e5cb3813d9dc67db2eed (tree)
parent 89763c9a0d9a838439bcc6cd996c0ff2d3d0daca
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue, 16 Apr 2019 19:13:46 -0400

build.zig: libuserland expects to against libc

Diffstat:
Mbuild.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/build.zig b/build.zig @@ -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);