diff --git a/build.zig b/build.zig index 8e376e3..cc4c41a 100644 --- a/build.zig +++ b/build.zig @@ -14,6 +14,10 @@ pub fn build(b: *std.Build) !void { .optimize = optimize, .strip = true, }); + + // fix Mach-O relocation + minisign.headerpad_max_install_names = true; + minisign.linkLibC(); if (use_libzodium) { var libzodium = lib: {