diff --git a/build.zig b/build.zig index 9f48e102b6..923ce079c2 100644 --- a/build.zig +++ b/build.zig @@ -359,7 +359,7 @@ pub fn build(b: *std.Build) !void { // `windows.h` which is problematic when cross compiling // from a case-sensitive filesystem. // https://github.com/llvm/llvm-project/issues/161400 - if (target.result.os.tag == .windows) { + if (target.result.os.tag == .windows and b.graph.host.result.os.tag != .windows) { const upper_case_windows_h = b.addWriteFiles().add("Windows.h", "#include "); tracy_profiler.root_module.addIncludePath(upper_case_windows_h.dirname()); } diff --git a/build.zig.zon b/build.zig.zon index 5403d1676d..a593bdf99d 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -133,6 +133,7 @@ .paths = .{ "capture", "csvexport", + "icon", "import", "include", "manual/tracy.md",