chore: replace adwaita-1 to libadwaita-1 for better pkg-config handling (#4818)

The reasoning for this PR is discussed at
https://github.com/ghostty-org/ghostty/discussions/3667

But in short, `pkg-config` queries `libadwaita-1` successfully, but not
for `adwaita-1`, hence renaming it would result in better integration
with pkg-config.
This commit is contained in:
Mitchell Hashimoto
2025-01-08 09:42:10 -08:00
committed by GitHub

View File

@ -431,7 +431,7 @@ pub fn add(
.gtk => { .gtk => {
step.linkSystemLibrary2("gtk4", dynamic_link_opts); step.linkSystemLibrary2("gtk4", dynamic_link_opts);
if (self.config.adwaita) step.linkSystemLibrary2("adwaita-1", dynamic_link_opts); if (self.config.adwaita) step.linkSystemLibrary2("libadwaita-1", dynamic_link_opts);
if (self.config.x11) step.linkSystemLibrary2("X11", dynamic_link_opts); if (self.config.x11) step.linkSystemLibrary2("X11", dynamic_link_opts);
if (self.config.wayland) { if (self.config.wayland) {