srctree

Robin Linden parent e2dca3d9 c406bb1f
deps: Update zlib

inlinesplit
WORKSPACE added: 5, removed: 13, total 0
@@ -261,9 +261,9 @@ http_archive(
http_archive(
name = "zlib", # Zlib
build_file = "//third_party:zlib.BUILD",
sha256 = "1525952a0a567581792613a9723333d7f8cc20b87a81f920fb8bc7e3f2251428",
strip_prefix = "zlib-1.2.13",
url = "https://github.com/madler/zlib/archive/v1.2.13.tar.gz",
sha256 = "b5b06d60ce49c8ba700e0ba517fa07de80b5d4628a037f4be8ad16955be7a7c0",
strip_prefix = "zlib-1.3",
url = "https://github.com/madler/zlib/archive/v1.3.tar.gz",
)
 
# Third-party setup
 
third_party/zlib.BUILD added: 5, removed: 13, total 0
@@ -1,12 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
 
ZLIB_COPTS = select({
"@platforms//os:linux": [
"-Wno-deprecated-non-prototype",
],
"//conditions:default": [],
})
 
cc_library(
name = "zlib",
srcs = glob([
@@ -14,7 +7,6 @@ cc_library(
"*.h",
]),
hdrs = ["zlib.h"],
copts = ZLIB_COPTS,
defines = ["ZLIB_CONST"],
includes = ["."],
local_defines = select({