git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit1ec310e0c5468221b703ea27a63389a2b56b3179
parentf6c7e539a5
authorIsaac Freund <[email protected]>
date2020-05-02 16:04
Fix ensure pixman located

Zig was having trouble finding the proper headers on void, likely
because pixman is linked as pixman-1.

 build.zig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.zig b/build.zig
index cc59cf0..74ac270 100644
--- a/build.zig
+++ b/build.zig
@@ -42,6 +42,7 @@ fn addDeps(exe: *std.build.LibExeObjStep, protocol_step: *std.build.Step) void {
     exe.addIncludeDir(".");
 
     exe.linkLibC();
+    exe.linkSystemLibrary("pixman-1");
     exe.linkSystemLibrary("wayland-server");
     exe.linkSystemLibrary("wlroots");
     exe.linkSystemLibrary("xkbcommon");