From 734521560bb65429dde8aef81a75a99d4a9072d7 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 25 Jul 2021 01:22:36 +0200 Subject: 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. --- build.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 48b049a..0dfdca3 100644 --- a/build.zig +++ b/build.zig @@ -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); -- cgit v1.2.3