From 50719f5347be3910d41f074425cb61d09dc5e1d1 Mon Sep 17 00:00:00 2001 From: Ali Chraghi <63465728+AliChraghi@users.noreply.github.com> Date: Tue, 16 Nov 2021 04:09:08 +0330 Subject: [PATCH] glfw: fix typo prevents building for Wayland --- glfw/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/build.zig b/glfw/build.zig index b86f8dc3..b8b804bb 100644 --- a/glfw/build.zig +++ b/glfw/build.zig @@ -123,7 +123,7 @@ fn buildLibrary(b: *Builder, step: *std.build.LibExeObjStep, options: Options) * var general_sources = std.ArrayList([]const u8).init(b.allocator); const flag = switch (options.linux_window_manager) { .X11 => "-D_GLFW_X11", - .Wayland => "_D_GLFW_WAYLAND", + .Wayland => "-D_GLFW_WAYLAND", }; for ([_][]const u8{ // General Linux-like sources