blob: 95535a21e8720a476ed0d4ceb622daaa7c8dee7b (
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 = b.path("libarchive.zig"),
.target = target,
});
mod.linkSystemLibrary("libarchive", .{});
}
|