Skip to content

Commit 2cca834

Browse files
committed
add zlib feature def
1 parent b6e4b17 commit 2cca834

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ pub fn build(b: *std.Build) !void {
263263

264264
lib.addIncludePath(libgit_src.path("deps/zlib"));
265265
lib.linkLibrary(zlib);
266+
features.addValues(.{ .GIT_COMPRESSION_ZLIB = 1 });
266267
}
267268
// xdiff
268269
{

0 commit comments

Comments
 (0)