blob: 53e788db9e1be030840c987f3a986e0de796e255 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
pub fn build(b: *@import("std").Build) void {
const target = b.standardTargetOptions(.{});
const mod = b.addModule("libarchive", .{
.root_source_file = .{ .path = "libarchive.zig" },
.target = target,
});
mod.linkSystemLibrary("libarchive", .{});
}
|