summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/build.zig b/build.zig
index d332001..95535a2 100644
--- a/build.zig
+++ b/build.zig
@@ -1,10 +1,7 @@
1pub fn build(b: *@import("std").Build) void { 1pub fn build(b: *@import("std").Build) void {
2 const target = b.standardTargetOptions(.{}); 2 const target = b.standardTargetOptions(.{});
3 const mod = b.addModule("libarchive", .{ 3 const mod = b.addModule("libarchive", .{
4 .root_source_file = .{ .src_path = .{ 4 .root_source_file = b.path("libarchive.zig"),
5 .owner = b,
6 .sub_path = "libarchive.zig",
7 } },
8 .target = target, 5 .target = target,
9 }); 6 });
10 mod.linkSystemLibrary("libarchive", .{}); 7 mod.linkSystemLibrary("libarchive", .{});