gtk: add option to not link against libX11

This commit is contained in:
Jeffrey C. Ollie
2024-12-28 13:40:17 -06:00
parent 6cbd69da78
commit 8ecb11a602
11 changed files with 118 additions and 30 deletions

View File

@@ -61,6 +61,11 @@ pub fn run(alloc: Allocator) !u8 {
} else {
try stdout.print(" - libadwaita : disabled\n", .{});
}
if (comptime build_options.x11) {
try stdout.print(" - libX11 : enabled\n", .{});
} else {
try stdout.print(" - libX11 : disabled\n", .{});
}
}
return 0;
}