diff options
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build.zig b/build.zig index def28a5..5a00841 100644 --- a/build.zig +++ b/build.zig @@ -26,8 +26,11 @@ pub fn build(b: *std.Build) void { // TODO: link for mac later exe.linkSystemLibrary("SDL2"); exe.linkSystemLibrary("mpg123"); - exe.linkSystemLibrary("alsa"); + exe.linkSystemLibrary("asound"); exe.linkLibC(); + exe.addCSourceFile(.{ .file = b.path("csrc/cbrr.c"), .flags = &.{} }); + exe.addIncludePath(b.path("./csrc")); + // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default // step when running `zig build`). |