diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-07-25 01:22:36 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-07-25 01:22:36 +0200 |
| commit | 734521560bb65429dde8aef81a75a99d4a9072d7 (patch) | |
| tree | b2c6355fc6bb0e4e74e9a99f96becd272cb4573d /build.zig | |
| parent | c26d18647b9af89058e87249bcc754d8c979b663 (diff) | |
| download | river-734521560bb65429dde8aef81a75a99d4a9072d7.tar.gz river-734521560bb65429dde8aef81a75a99d4a9072d7.tar.xz | |
river: add custom wlroots log handler
This makes river's log output more consistent and will allow
filtering by the wlroots scope in the future.
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -211,6 +211,7 @@ fn addServerDeps(exe: *zbs.LibExeObjStep, scanner: *ScanProtocolsStep) void { exe.linkSystemLibrary("wlroots"); exe.addPackagePath("flags", "common/flags.zig"); + exe.addCSourceFile("river/wlroots_log_wrapper.c", &[_][]const u8{ "-std=c99", "-O2" }); // TODO: remove when zig issue #131 is implemented scanner.addCSource(exe); |
