diff options
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -14,6 +14,12 @@ pub fn build(b: *std.Build) void { // Add cross-platform terminal support exe.linkLibC(); + // Add C source file for statvfs helper + exe.addCSourceFile(.{ + .file = b.path("src/statvfs_helper.c"), + .flags = &.{}, + }); + b.installArtifact(exe); const run_cmd = b.addRunArtifact(exe); |