Revert "fix: export zlib symbols (#15103)" (#15138)

This reverts commit 47b12eee57.
This commit is contained in:
Samuel Attard 2018-10-13 18:51:18 +11:00 committed by GitHub
parent 05b7c2bf80
commit 8907053a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 22 deletions

View file

@ -1,7 +0,0 @@
repo: src
patches:
-
author: Andy Dill <adill@discordapp.com>
file: fix-export_zlib_symbols.patch
description: |
Set ZLIB_DLL so that we export zlib symbols.

View file

@ -1,15 +0,0 @@
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn
index 902e287f8a0a..c08a187ca968 100644
--- a/third_party/zlib/BUILD.gn
+++ b/third_party/zlib/BUILD.gn
@@ -265,6 +265,10 @@ static_library("zlib") {
defines = []
deps = []
+ if (is_win) {
+ defines += [ "ZLIB_DLL" ]
+ }
+
if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) {
deps += [ ":zlib_crc32_simd" ]