Skip to content

Commit bad80e1

Browse files
foxnneemidoots
authored andcommitted
build: Include missing assembly files
1 parent 05918e3 commit bad80e1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build.zig

+2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ pub fn build(b: *std.Build) void {
1616
module.linkFramework("AppKit", .{});
1717
if (target.result.cpu.arch == .x86_64) {
1818
module.addAssemblyFile(b.path("MACHAppDelegate_x86_64_apple_macos12.s"));
19+
module.addAssemblyFile(b.path("MACHWindowDelegate_x86_64_apple_macos12.s"));
1920
} else {
2021
module.addAssemblyFile(b.path("MACHAppDelegate_arm64_apple_macos12.s"));
22+
module.addAssemblyFile(b.path("MACHWindowDelegate_arm64_apple_macos12.s"));
2123
}
2224
} else {
2325
module.linkFramework("UIKit", .{});

build.zig.zon

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"MACHAppDelegate_arm64_apple_macos12.s",
1919
"MACHAppDelegate_x86_64_apple_macos12.s",
2020
"MACHAppDelegate.m",
21+
"MACHWindowDelegate_arm64_apple_macos12.s",
22+
"MACHWindowDelegate_x86_64_apple_macos12.s",
23+
"MACHWindowDelegate.m",
2124
"metal_manual.zig",
2225
"registry.zig",
2326
"update.sh",

0 commit comments

Comments
 (0)