From f0cfaa958026f09a723026c1359d1eacd0ec99d2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 2 Oct 2025 15:38:32 -0700 Subject: [PATCH] zig 0.15: build on macOS --- src/build/GhosttyLib.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/build/GhosttyLib.zig b/src/build/GhosttyLib.zig index 4b9729170..d5ec66de8 100644 --- a/src/build/GhosttyLib.zig +++ b/src/build/GhosttyLib.zig @@ -28,7 +28,9 @@ pub fn initStatic( .omit_frame_pointer = deps.config.strip, .unwind_tables = if (deps.config.strip) .none else .sync, }), - .linkage = .static, + + // Fails on self-hosted x86_64 on macOS + .use_llvm = true, }); lib.linkLibC();