aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index ccebbc9..d4746e1 100644
--- a/build.zig
+++ b/build.zig
@@ -35,6 +35,7 @@ pub fn build(b: *std.Build) void {
lib.addIncludePath(.{ .path = "depends/mgl/include" });
lib.linkSystemLibrary("x11");
lib.linkSystemLibrary("xrender");
+ lib.linkSystemLibrary("xrandr");
lib.linkLibC();
lib.installHeadersDirectory("depends/mgl/include", ".");
lib.strip = optimize != std.builtin.OptimizeMode.Debug;