Skip to content

Commit de0bdb5

Browse files
committed
MAC OS (M1, aarch64): fix compilation error
1 parent 19c3835 commit de0bdb5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ pub fn build(b: *std.Build) void {
399399
.HAVE_NANOSLEEP = true,
400400
.HAVE_PEEKNAMEDPIPE = false,
401401
.HAVE_POSIX_MEMALIGN = true,
402-
.HAVE_PRCTL = true,
402+
.HAVE_PRCTL = t.os.tag != .macos,
403403
.HAVE_PTHREAD_CANCEL = true,
404404
.HAVE_PTHREAD_SET_NAME_NP = false,
405405
.HAVE_PTHREAD_SETNAME_NP = false,

build.zig.zon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
.dependencies = .{
88
.libz = .{
9-
.url = "https://github.com/allyourcodebase/zlib/archive/refs/tags/1.3.1-3.tar.gz",
10-
.hash = "1220138f4aba0c01e66b68ed9e1e1e74614c06e4743d88bc58af4f1c3dd0aae5fea7",
9+
.url = "https://github.com/allyourcodebase/zlib/archive/refs/tags/1.3.1.tar.gz",
10+
.hash = "122034ab2a12adf8016ffa76e48b4be3245ffd305193edba4d83058adbcfa749c107",
1111
},
1212
.mbedtls = .{
1313
.url = "git+https://github.com/allyourcodebase/mbedtls#40a2c1126b45f87d19b256229620bc2995637e5a",

0 commit comments

Comments
 (0)