mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
pkg/macos: only link apple paths on darwin target
This commit is contained in:
@ -36,11 +36,11 @@ pub fn build(b: *std.Build) !void {
|
|||||||
module.linkFramework("CoreGraphics", .{});
|
module.linkFramework("CoreGraphics", .{});
|
||||||
module.linkFramework("CoreText", .{});
|
module.linkFramework("CoreText", .{});
|
||||||
module.linkFramework("CoreVideo", .{});
|
module.linkFramework("CoreVideo", .{});
|
||||||
}
|
|
||||||
|
|
||||||
if (!target.query.isNative()) {
|
if (!target.query.isNative()) {
|
||||||
try apple_sdk.addPaths(b, lib);
|
try apple_sdk.addPaths(b, lib);
|
||||||
try apple_sdk.addPaths(b, module);
|
try apple_sdk.addPaths(b, module);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
b.installArtifact(lib);
|
b.installArtifact(lib);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user