mono/mono#4484 broke Windows mingw build due to new dependency, zlib1.dll not available in PATH on build bots. Disabling for now until we know how this should be handled (and also fixed for MSVC build runtime).
Commit migrated from https://github.com/mono/mono/commit/
51a11b68c52034f0c6beef9f62dfa1c9d33761f0
#include <mono/utils/bsearch.h>
#include <mono/utils/mono-logger-internals.h>
-#if defined (HAVE_SYS_ZLIB)
+#if defined (HAVE_SYS_ZLIB) && !defined(HOST_WIN32)
#include <zlib.h>
#endif
if (ppdb_data) {
/* Embedded PPDB data */
-#if defined (HAVE_SYS_ZLIB)
+#if defined (HAVE_SYS_ZLIB) && !defined(HOST_WIN32)
/* ppdb_size is the uncompressed size */
guint8 *data = g_malloc0 (ppdb_size);
z_stream stream;
LLVMMONOF=$(LLVM_LIBS) $(LLVM_LDFLAGS)
endif
+if !HOST_WIN32
if HAVE_ZLIB
Z_LIBS= -lz
else
Z_LIBS=
endif
+else
+Z_LIBS=
+endif
mono_boehm_LDADD = \
libmain_a-main.$(OBJEXT) \