diff options
| author | Leah Amelia Chen <hi@pluie.me> | 2025-01-02 21:44:16 +0800 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-05 12:27:11 -0800 |
| commit | 31439f311d511421690cd134d9f613960ea3de33 (patch) | |
| tree | 259b6b85fd238b61da03e3a8f74ac5ab547b9d30 /src/cli/version.zig | |
| parent | f4a9b65f788ac437649fea95a905bc9e92c0e668 (diff) | |
build: add wayland
Diffstat (limited to 'src/cli/version.zig')
| -rw-r--r-- | src/cli/version.zig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli/version.zig b/src/cli/version.zig index 99f03384b..b00152589 100644 --- a/src/cli/version.zig +++ b/src/cli/version.zig @@ -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; } |
