Fix build.zig

This commit is contained in:
Isaac Freund 2020-03-20 22:52:03 +01:00
parent ba6b8350b1
commit 5ca93a57ba
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -15,6 +15,11 @@ pub fn build(b: *Builder) void {
exe.setTarget(target); exe.setTarget(target);
exe.setBuildMode(mode); exe.setBuildMode(mode);
exe.linkLibC(); exe.linkLibC();
exe.linkSystemLibrary("pixman");
exe.linkSystemLibrary("wayland-server");
exe.linkSystemLibrary("wlroots");
exe.linkSystemLibrary("xkbcommon");
exe.addIncludeDir("protocol");
exe.install(); exe.install();
const run_cmd = exe.run(); const run_cmd = exe.run();