compiling on linux - bunch of fixes #2
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user
just one little nitpick. this is the only one needed to enable
link_libc. all the other files are inherit from this. we can remove the other individuallinkLibC();calls.