From 1d03bd5ff17e43d611d011fbf5185018261d2485 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 12 Feb 2023 08:26:10 -0700 Subject: [PATCH] update to latest build.zig API --- build.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 498a0c7..4716208 100644 --- a/build.zig +++ b/build.zig @@ -17,7 +17,9 @@ pub fn build(b: *std.build.Builder) void { lib.linkLibC(); lib.linkLibrary(pulseaudio_dep.artifact("pulse")); lib.addIncludePath("."); - lib.addConfigHeader(b.addConfigHeader(.{ .path = "src/config.h.in" }, .cmake, .{ + lib.addConfigHeader(b.addConfigHeader(.{ + .style = .{ .cmake = .{ .path = "src/config.h.in" } }, + }, .{ .SOUNDIO_HAVE_JACK = null, .SOUNDIO_HAVE_PULSEAUDIO = {}, .SOUNDIO_HAVE_ALSA = null,