Description: Use shared zlib
Index: RetroArch-1.3.6/Makefile.common
===================================================================
--- RetroArch-1.3.6.orig/Makefile.common	2016-07-19 21:40:28.077467682 -0300
+++ RetroArch-1.3.6/Makefile.common	2016-07-19 21:40:46.897735932 -0300
@@ -1018,7 +1018,6 @@
           deps/zlib/zutil.o
 else
 ifeq ($(HAVE_ZLIB),1)
-OBJ += $(ZLIB_OBJS)
 HAVE_ZLIB_DEFLATE = 1
 endif
 endif
Index: RetroArch-1.3.6/libretro-common/file/archive_file_zlib.c
===================================================================
--- RetroArch-1.3.6.orig/libretro-common/file/archive_file_zlib.c	2016-07-19 21:40:28.077467682 -0300
+++ RetroArch-1.3.6/libretro-common/file/archive_file_zlib.c	2016-07-19 21:40:28.077467682 -0300
@@ -22,7 +22,7 @@
 
 #include <stdlib.h>
 
-#include <compat/zlib.h>
+#include <zlib.h>
 #include <file/archive_file.h>
 #include <streams/file_stream.h>
 
Index: RetroArch-1.3.6/libretro-common/utils/crc32.c
===================================================================
--- RetroArch-1.3.6.orig/libretro-common/utils/crc32.c	2016-07-19 21:40:28.077467682 -0300
+++ RetroArch-1.3.6/libretro-common/utils/crc32.c	2016-07-19 21:40:28.077467682 -0300
@@ -4,7 +4,7 @@
 #include <errno.h>
 #include <string.h>
 
-#include <compat/zlib.h>
+#include <zlib.h>
 
 int main(int argc, const char* argv[])
 {
