build: install ghostty-internal dll/static with new names

Rename the internal library's install names to match the new
ghostty-internal pkg-config module convention:

  ghostty.dll          -> ghostty-internal.dll
  ghostty-static.lib   -> ghostty-internal-static.lib
  libghostty.so        -> ghostty-internal.so
  libghostty.a         -> ghostty-internal.a

This is the glue library between Ghostty's app shells and the GUI
core, historically (mis)named "libghostty". It is not the public
libghostty-vt API.
This commit is contained in:
Alessandro De Blasis
2026-04-11 02:59:50 +02:00
parent dd04856482
commit 4fd16ef9bc

View File

@@ -190,11 +190,11 @@ pub fn build(b: *std.Build) !void {
if (!config.target.result.os.tag.isDarwin()) {
lib_shared.installHeader(); // Only need one header
if (config.target.result.os.tag == .windows) {
lib_shared.install("ghostty.dll");
lib_static.install("ghostty-static.lib");
lib_shared.install("ghostty-internal.dll");
lib_static.install("ghostty-internal-static.lib");
} else {
lib_shared.install("libghostty.so");
lib_static.install("libghostty.a");
lib_shared.install("ghostty-internal.so");
lib_static.install("ghostty-internal.a");
}
}
}