diff --git a/build.zig b/build.zig index b47569a..dcc72c6 100644 --- a/build.zig +++ b/build.zig @@ -9,6 +9,7 @@ pub fn build(b: *std.Build) void { .root_module = b.createModule(.{ .root_source_file = b.path("lib.zig"), .target = target, + .link_libc = true, .optimize = optimize, }), .linkage = .dynamic, @@ -20,6 +21,7 @@ pub fn build(b: *std.Build) void { .name = "repro", .root_module = b.createModule(.{ .root_source_file = b.path("main.zig"), + .link_libc = true, .target = target, .optimize = optimize, }),