mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 03:25:50 +00:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user