Skip to content

Commit

Permalink
update to latest Zig
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Oct 18, 2023
1 parent 4f1ebe1 commit 158f9c7
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 @@ -42,10 +42,10 @@ pub fn build(b: *std.Build) void {
lib.addConfigHeader(config_header);
lib.addIncludePath(.{ .path = "include" });
lib.addIncludePath(.{ .path = "src/libFLAC/include" });
lib.addCSourceFiles(sources, &.{});
lib.addCSourceFiles(.{ .files = sources, .flags = &.{} });
if (target.os.tag == .windows) {
lib.defineCMacro("FLAC__NO_DLL", null);
lib.addCSourceFiles(sources_windows, &.{});
lib.addCSourceFiles(.{ .files = sources_windows, .flags = &.{} });
}
lib.installConfigHeader(config_header, .{});
lib.installHeadersDirectory("include", "");
Expand Down

0 comments on commit 158f9c7

Please sign in to comment.