From 4700908ac51987f03975090a649eac0aa8ca5041 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 8 Mar 2024 17:33:18 -0700 Subject: [PATCH] fix no-op CI build for x86_64-macos Signed-off-by: Stephen Gutekanst --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index ba4ba92..8e360e7 100644 --- a/build.zig +++ b/build.zig @@ -10,7 +10,7 @@ pub fn build(b: *std.Build) void { .optimize = optimize, .root_source_file = b.addWriteFiles().add("empty.c", ""), }); - if (target.result.cpu.arch == .x86_64) { + if (target.result.cpu.arch == .x86_64 and target.result.os.tag == .windows) { lib.addLibraryPath(.{ .path = "x86_64" }); lib.linkSystemLibrary("dxguid"); lib.linkSystemLibrary("dxgi");