diff options
| author | 2022-07-19 22:59:55 +0300 | |
|---|---|---|
| committer | 2022-07-19 22:59:55 +0300 | |
| commit | f1507da2808e8dc4b54d3a0492e53d247d1be7f1 (patch) | |
| tree | 02d0cee1dafb28cd93add751b72a08d904cd5bc9 /build.zig | |
| parent | Maintenance commit (diff) | |
| download | zup-f1507da2808e8dc4b54d3a0492e53d247d1be7f1.tar.gz zup-f1507da2808e8dc4b54d3a0492e53d247d1be7f1.tar.xz zup-f1507da2808e8dc4b54d3a0492e53d247d1be7f1.zip | |
No longer need the macos workaround
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 12 |
1 files changed, 0 insertions, 12 deletions
| @@ -23,18 +23,6 @@ pub fn build(b: *Builder) void { | |||
| 23 | exe.linkLibC(); | 23 | exe.linkLibC(); |
| 24 | exe.linkSystemLibrary("libarchive"); | 24 | exe.linkSystemLibrary("libarchive"); |
| 25 | exe.linkSystemLibrary("libcurl"); | 25 | exe.linkSystemLibrary("libcurl"); |
| 26 | if (builtin.target.os.tag == .macos) { | ||
| 27 | // TODO: zig-bug https://github.com/ziglang/zig/issues/11151 | ||
| 28 | // libarchive | ||
| 29 | exe.linkSystemLibrary("expat"); | ||
| 30 | exe.linkSystemLibrary("iconv"); | ||
| 31 | exe.linkSystemLibrary("liblzma"); | ||
| 32 | exe.linkSystemLibrary("libzstd"); | ||
| 33 | exe.linkSystemLibrary("liblz4"); | ||
| 34 | exe.linkSystemLibrary("libb2"); | ||
| 35 | exe.linkSystemLibrary("bz2"); | ||
| 36 | exe.linkSystemLibrary("z"); | ||
| 37 | } | ||
| 38 | exe.install(); | 26 | exe.install(); |
| 39 | 27 | ||
| 40 | const run_cmd = exe.run(); | 28 | const run_cmd = exe.run(); |