Skip to content

Commit 302bc85

Browse files
LinGeLinyongtang
andauthored
Fix zlib build error (#1672)
Co-authored-by: Yong Tang <[email protected]>
1 parent 6652989 commit 302bc85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WORKSPACE

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
66
http_archive(
77
name = "zlib",
88
build_file = "//third_party:zlib.BUILD",
9+
patch_cmds = ["""sed -i.bak '29i\\'$'\\n#include<zconf.h>\\n' contrib/minizip/crypt.h"""],
910
sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9",
1011
strip_prefix = "zlib-1.2.12",
1112
urls = [

0 commit comments

Comments
 (0)