Skip to content

Commit

Permalink
fix no-op CI build for x86_64-macos
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
  • Loading branch information
emidoots committed Mar 9, 2024
1 parent 1eb55df commit 4700908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 4700908

Please sign in to comment.