From 4095b189ed98c60d3209e62892f2727b5179b197 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 24 Oct 2024 15:28:41 -0700 Subject: [PATCH] build: only default system libs to false on macOS --- build.zig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index d8754cf43..f581bb96c 100644 --- a/build.zig +++ b/build.zig @@ -234,7 +234,11 @@ pub fn build(b: *std.Build) !void { }) |dep| { _ = b.systemIntegrationOption( dep, - .{ .default = !target.result.isDarwin() }, + .{ + // If we're not on darwin we want to use whatever the + // default is via the system package mode + .default = if (target.result.isDarwin()) false else null, + }, ); }