aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libghostty-vt/pkg')
-rw-r--r--vendor/libghostty-vt/pkg/highway/build.zig7
-rw-r--r--vendor/libghostty-vt/pkg/highway/build.zig.zon1
2 files changed, 8 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/pkg/highway/build.zig b/vendor/libghostty-vt/pkg/highway/build.zig
index 0ac77612..a0244728 100644
--- a/vendor/libghostty-vt/pkg/highway/build.zig
+++ b/vendor/libghostty-vt/pkg/highway/build.zig
@@ -37,6 +37,13 @@ pub fn build(b: *std.Build) !void {
try android_ndk.addPaths(b, lib);
}
+ // Mainly for iOS simulators, but we add for all Darwin target for
+ // consistency.
+ if (target.result.os.tag.isDarwin()) {
+ const apple_sdk = @import("apple_sdk");
+ try apple_sdk.addPaths(b, lib);
+ }
+
var flags: std.ArrayList([]const u8) = .empty;
defer flags.deinit(b.allocator);
try flags.appendSlice(b.allocator, &.{
diff --git a/vendor/libghostty-vt/pkg/highway/build.zig.zon b/vendor/libghostty-vt/pkg/highway/build.zig.zon
index 96b2768a..e6863630 100644
--- a/vendor/libghostty-vt/pkg/highway/build.zig.zon
+++ b/vendor/libghostty-vt/pkg/highway/build.zig.zon
@@ -12,5 +12,6 @@
},
.android_ndk = .{ .path = "../android-ndk" },
+ .apple_sdk = .{ .path = "../apple-sdk" },
},
}