fix libc linking issue on Linux

This commit is contained in:
2026-02-10 13:13:36 +01:00
parent 3ef7e322fa
commit 777af83c7f

View File

@@ -47,6 +47,7 @@ pub fn build(b: *std.Build) void {
.root_source_file = b.path("src/files.zig"), .root_source_file = b.path("src/files.zig"),
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
.link_libc = true,
}); });
files_module.addImport("core", core_module); files_module.addImport("core", core_module);
files_module.addImport("protocol", protocol_module); files_module.addImport("protocol", protocol_module);