From: Dani Pozo <danipozo@correo.ugr.es>
---
build.zig | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.zig b/build.zig
index 330c68f..1e6c17f 100644
--- a/build.zig
@@ -16,6 +16,7 @@ pub fn build(b: *Builder) void {
const exe = b.addExecutable("zet", "src/main.zig");
exe.setTarget(target);
exe.setBuildMode(mode);
+ exe.linkSystemLibrary("c");
exe.strip = mode == Mode.ReleaseSmall;
exe.install();
--
2.27.0