Index: build/linux/unbundle/zlib.gn |
diff --git a/build/linux/unbundle/zlib.gn b/build/linux/unbundle/zlib.gn |
index ecde1c97942b1d107dec1170a7fa5c9d4c9a675e..020fc7e935ad710a2971e1266f50bdd8b5fef5cf 100644 |
--- a/build/linux/unbundle/zlib.gn |
+++ b/build/linux/unbundle/zlib.gn |
@@ -9,11 +9,16 @@ shim_headers("zlib_shim") { |
headers = [ "zlib.h" ] |
} |
+config("system_zlib") { |
+ defines = [ "USE_SYSTEM_ZLIB=1" ] |
+} |
+ |
source_set("zlib") { |
deps = [ |
":zlib_shim", |
] |
libs = [ "z" ] |
+ public_configs = [ ":system_zlib" ] |
} |
shim_headers("minizip_shim") { |