diff options
author | Iurii Plugatariov <[email protected]> | 2024-07-05 18:47:38 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-05 18:47:38 +0200 |
commit | c7b32cd10370f512bad154d0282f78004ffa4c42 (patch) | |
tree | 3a863d28966469be4abbc965d9b2c18ffbbcae16 /build.zig | |
parent | 4bbbc55dc8061999048f0c2bdd9d36b412eb2647 (diff) | |
parent | 2e6e2c5bc415460a66517dd786091c63189b66dc (diff) | |
download | tinkerbunk-c7b32cd10370f512bad154d0282f78004ffa4c42.tar.gz |
Merge pull request #2 from makefunstuff/muzak
Muzak
Diffstat (limited to '')
-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`). |