build: only default system libs to false on macOS

This commit is contained in:
Mitchell Hashimoto
2024-10-24 15:28:41 -07:00
parent b14f0f95a9
commit 4095b189ed

View File

@ -234,7 +234,11 @@ pub fn build(b: *std.Build) !void {
}) |dep| { }) |dep| {
_ = b.systemIntegrationOption( _ = b.systemIntegrationOption(
dep, 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,
},
); );
} }