summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-10-06 20:35:45 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-10-06 20:48:49 -0700
commit725203d494c70d531eb75053a29072e2a3e119fe (patch)
tree39d6c9121edd3e6d7c1ac79c31fe78adcd3a805c /src
parent3d1977ca4338fb217d1bc67567dd91dc7340f053 (diff)
lib-vt: split header to be more consumable
Diffstat (limited to 'src')
-rw-r--r--src/build/GhosttyLibVt.zig7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build/GhosttyLibVt.zig b/src/build/GhosttyLibVt.zig
index 1e57da7b1..590792ef3 100644
--- a/src/build/GhosttyLibVt.zig
+++ b/src/build/GhosttyLibVt.zig
@@ -30,9 +30,10 @@ pub fn initShared(
.root_module = zig.vt_c,
.version = std.SemanticVersion{ .major = 0, .minor = 1, .patch = 0 },
});
- lib.installHeader(
- b.path("include/ghostty/vt.h"),
- "ghostty/vt.h",
+ lib.installHeadersDirectory(
+ b.path("include/ghostty"),
+ "ghostty",
+ .{ .include_extensions = &.{".h"} },
);
// Get our debug symbols