diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-21 16:55:42 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-21 16:55:42 +0100 |
| commit | 57ab110f43efd2681fd61872820ac942b8f5bcd3 (patch) | |
| tree | 4b63a12e4367ab2cb2f18b9c1004a1dab8910478 /build.zig | |
| parent | e1d1683c3f6c0ac5862aca0fd732c701a5e687f7 (diff) | |
| download | river-57ab110f43efd2681fd61872820ac942b8f5bcd3.tar.gz river-57ab110f43efd2681fd61872820ac942b8f5bcd3.tar.xz | |
Hack around @cImport() not handling flexible arrays
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,8 @@ pub fn build(b: *Builder) void { exe.addIncludeDir("protocol"); exe.linkLibC(); exe.addIncludeDir("/usr/include/pixman-1"); + exe.addCSourceFile("include/render.c", &[_][]const u8{"-std=c99"}); + exe.addIncludeDir("."); //exe.linkSystemLibrary("pixman"); exe.linkSystemLibrary("wayland-server"); exe.linkSystemLibrary("wlroots"); |
