chore: replace adwaita-1 to libadwaita-1 for better pkg-config handling

This commit is contained in:
Kwee Lung Sin
2025-01-03 16:10:48 +08:00
committed by Mitchell Hashimoto
parent 29c2f095a6
commit 40442ac02f

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) {