mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-23 21:30:19 +00:00
build(highway): require apple_sdk for darwin builds
This commit is contained in:
@@ -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, &.{
|
||||
|
||||
@@ -12,5 +12,6 @@
|
||||
},
|
||||
|
||||
.android_ndk = .{ .path = "../android-ndk" },
|
||||
.apple_sdk = .{ .path = "../apple-sdk" },
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user