Win32 zlib support. (mono/mono#15509)
authorJay Krell <jaykrell@microsoft.com>
Fri, 5 Jul 2019 12:38:56 +0000 (05:38 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 5 Jul 2019 12:38:56 +0000 (14:38 +0200)
commitf0da20bcb5c308881b24d0fa1a314163ff4f2c5d
treef2412b197c4a3f78c9268f47e7110294f5dd335c
parentf3bb4fb663ce6ca20b6565178cbd1f3980ccfab1
Win32 zlib support. (mono/mono#15509)

Fixes https://github.com/mono/mono/issues/15503

Always statically link on Windows (msvc and mingw).
This is a somewhat old zlib, and will be updated shortly (https://github.com/mono/mono/pull/15480)

Note that zlib is not valid C++, so always compile as C.

Commit migrated from https://github.com/mono/mono/commit/b84b85688ba252d1e514ff2dec6a3d10544caa8c
src/mono/configure.ac
src/mono/mono/metadata/Makefile.am
src/mono/mono/metadata/debug-mono-ppdb.c
src/mono/msvc/libmonoruntime.targets
src/mono/msvc/monozlib.targets [new file with mode: 0644]