Skip to content

Commit

Permalink
correct inclusion of xcode SDK paths
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Jan 14, 2024
1 parent 4a39c70 commit 7b1a45f
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 @@ -158,7 +158,7 @@ pub fn link(b: *std.Build, step: *std.Build.Step.Compile) void {
}

pub fn addPaths(step: *std.Build.Step.Compile) void {
@import("xcode_frameworks").addPaths(step);
if (step.rootModuleTarget().os.tag == .macos) @import("xcode_frameworks").addPaths(step);
}

const base_sources = [_][]const u8{
Expand Down

0 comments on commit 7b1a45f

Please sign in to comment.