mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-09 13:18:18 +00:00
build: add wayland
This commit is contained in:
committed by
Mitchell Hashimoto
parent
f4a9b65f78
commit
31439f311d
@@ -68,6 +68,14 @@ pub fn run(alloc: Allocator) !u8 {
|
||||
} else {
|
||||
try stdout.print(" - libX11 : disabled\n", .{});
|
||||
}
|
||||
|
||||
// We say `libwayland` since it is possible to build Ghostty without
|
||||
// Wayland integration but with Wayland-enabled GTK
|
||||
if (comptime build_options.wayland) {
|
||||
try stdout.print(" - libwayland : enabled\n", .{});
|
||||
} else {
|
||||
try stdout.print(" - libwayland : disabled\n", .{});
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user