blob: d3320019e0f48190beff8ef63c3534999a167cb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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", .{});
}
|