aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/build/GhosttyFrameData.zig
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-10 21:51:57 +0300
committerGitHub <noreply@github.com>2026-09-10 21:51:57 +0300
commit425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch)
treee52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/src/build/GhosttyFrameData.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/build/GhosttyFrameData.zig')
-rw-r--r--vendor/libghostty-vt/src/build/GhosttyFrameData.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/libghostty-vt/src/build/GhosttyFrameData.zig b/vendor/libghostty-vt/src/build/GhosttyFrameData.zig
index 8469759f..be61f029 100644
--- a/vendor/libghostty-vt/src/build/GhosttyFrameData.zig
+++ b/vendor/libghostty-vt/src/build/GhosttyFrameData.zig
@@ -40,16 +40,16 @@ pub fn distResources(b: *std.Build) struct {
.name = "framegen",
.root_module = b.createModule(.{
.target = b.graph.host,
+ .link_libc = true,
}),
});
- exe.addCSourceFile(.{
+ exe.root_module.addCSourceFile(.{
.file = b.path("src/build/framegen/main.c"),
.flags = &.{},
});
- exe.linkLibC();
if (b.systemIntegrationOption("zlib", .{})) {
- exe.linkSystemLibrary2("zlib", .{
+ exe.root_module.linkSystemLibrary("zlib", .{
.preferred_link_mode = .dynamic,
.search_strategy = .mode_first,
});
@@ -58,7 +58,7 @@ pub fn distResources(b: *std.Build) struct {
.target = b.graph.host,
.optimize = .ReleaseFast,
})) |zlib_dep| {
- exe.linkLibrary(zlib_dep.artifact("z"));
+ exe.root_module.linkLibrary(zlib_dep.artifact("z"));
}
}