diff options
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build.zig b/build.zig index d43a430..d3b348c 100644 --- a/build.zig +++ b/build.zig @@ -57,11 +57,11 @@ pub fn build(b: *Builder) void { exe.addPackage(.{ .name = "loca", .path = "lib/loca/src/main.zig" }); exe.addPackage(.{ .name = "zeal", .path = "lib/zeal/src/zeal.zig" }); exe.linkSystemLibrary("openal"); + exe.linkSystemLibrary("sndfile"); exe.linkSystemLibrary("GL"); exe.linkSystemLibrary("GLU"); exe.linkSystemLibrary("c++"); - exe.linkSystemLibrary("vorbisfile"); // Standard target options allows the person running `zig build` to choose // what target to build for. Here we do not override the defaults, which @@ -80,9 +80,8 @@ pub fn build(b: *Builder) void { const run_cmd = exe.run(); run_cmd.step.dependOn(b.getInstallStep()); - if (b.args) |args| { + if (b.args) |args| run_cmd.addArgs(args); - } const run_step = b.step("run", "Run the app"); run_step.dependOn(&run_cmd.step); |