Skip to content

Commit

Permalink
update build to avoid panic in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Apr 12, 2024
1 parent 322466d commit 63e8dd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ pub fn build(b: *std.Build) !void {
, .{b.install_prefix});
defer pkgconfig_file.close();

b.installFile(file, "share/pkgconfig/libxev.pc");
b.getInstallStep().dependOn(&b.addInstallFileWithDir(
.{ .path = file },
.prefix,
"share/pkgconfig/libxev.pc",
).step);
}

// Benchmarks
Expand Down

0 comments on commit 63e8dd8

Please sign in to comment.