pub fn build(b: *@import("std").Build) void { const target = b.standardTargetOptions(.{}); const mod = b.addModule("libarchive", .{ .root_source_file = .{ .src_path = .{ .owner = b, .sub_path = "libarchive.zig", } }, .target = target, }); mod.linkSystemLibrary("libarchive", .{}); }