glfw: fix typo prevents building for Wayland
This commit is contained in:
parent
fd703e98e4
commit
50719f5347
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ fn buildLibrary(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
|
||||||
var general_sources = std.ArrayList([]const u8).init(b.allocator);
|
var general_sources = std.ArrayList([]const u8).init(b.allocator);
|
||||||
const flag = switch (options.linux_window_manager) {
|
const flag = switch (options.linux_window_manager) {
|
||||||
.X11 => "-D_GLFW_X11",
|
.X11 => "-D_GLFW_X11",
|
||||||
.Wayland => "_D_GLFW_WAYLAND",
|
.Wayland => "-D_GLFW_WAYLAND",
|
||||||
};
|
};
|
||||||
for ([_][]const u8{
|
for ([_][]const u8{
|
||||||
// General Linux-like sources
|
// General Linux-like sources
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue