diff options
| author | 2024-07-10 10:36:25 +0300 | |
|---|---|---|
| committer | 2024-07-10 10:36:25 +0300 | |
| commit | 3d457c968af4ddcb3bc89965272b46fc2aa91452 (patch) | |
| tree | 79736b6a9d5d08ff4a8e248dfd5008107ccb2c4e | |
| parent | Update for zig 0.13.0 (diff) | |
| download | zig-libarchive-0.4.1.tar.gz zig-libarchive-0.4.1.tar.xz zig-libarchive-0.4.1.zip | |
| -rw-r--r-- | build.zig | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -1,10 +1,7 @@ | |||
| 1 | pub fn build(b: *@import("std").Build) void { | 1 | pub 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", .{}); |