From a033913dbbc76b1e1c7d97a4c0f6170377a72227 Mon Sep 17 00:00:00 2001 From: IntegratedQuantum Date: Thu, 6 Mar 2025 15:16:35 +0100 Subject: [PATCH] Link X11 instead of x11 This seems to cause trouble sometimes, not sure why. The library file has a capital X, so I guess somehow there was any alias on my PC. fixes #1148 fixes #1040 --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 0b22c3d57..bbfc0afc8 100644 --- a/build.zig +++ b/build.zig @@ -62,7 +62,7 @@ pub fn build(b: *std.Build) !void { exe.linkSystemLibrary("ws2_32"); } else if(t.os.tag == .linux) { exe.linkSystemLibrary("asound"); - exe.linkSystemLibrary("x11"); + exe.linkSystemLibrary("X11"); exe.linkSystemLibrary("GL"); } else if(t.os.tag == .macos) { exe.linkFramework("AudioUnit");