Skip to content

Commit

Permalink
update to latest Zig API
Browse files Browse the repository at this point in the history
  • Loading branch information
alichraghi authored and slimsag committed Aug 3, 2023
1 parent 2335201 commit 73f6f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ pub fn build(b: *std.Build) void {
lib.linkLibC();
lib.defineCMacro("HAVE_CONFIG_H", null);
lib.addConfigHeader(config_header);
lib.addIncludePath("include");
lib.addIncludePath("src/libFLAC/include");
lib.addIncludePath(.{ .path = "include" });
lib.addIncludePath(.{ .path = "src/libFLAC/include" });
lib.addCSourceFiles(sources, &.{});
if (target.os.tag == .windows) {
lib.defineCMacro("FLAC__NO_DLL", null);
Expand Down

0 comments on commit 73f6f0c

Please sign in to comment.