lib-vt: Add SemanticVersion to module

- Provide SONAME versioned shared libraries with major version numbers
to separate ABI breaks
This commit is contained in:
azhn
2025-09-28 17:46:24 +10:00
committed by Mitchell Hashimoto
parent 0cc3728803
commit 837ac9be77

View File

@@ -27,6 +27,7 @@ pub fn initShared(
const lib = b.addSharedLibrary(.{
.name = "ghostty-vt",
.root_module = zig.vt_c,
.version = std.SemanticVersion{ .major = 0, .minor = 1, .patch = 0 },
});
lib.installHeader(
b.path("include/ghostty/vt.h"),