--- a/zlib-1.2.7/contrib/minizip/Makefile.am.orig	2013-03-31 04:43:24 +0400
+++ b/zlib-1.2.7/contrib/minizip/Makefile.am	2013-03-31 04:45:10 +0400
@@ -8,7 +8,7 @@
 zlib_top_builddir = $(top_builddir)/../..
 
 AM_CPPFLAGS = -I$(zlib_top_srcdir)
-AM_LDFLAGS = -L$(zlib_top_builddir)
+AM_LDFLAGS = -L$(zlib_top_builddir) -no-undefined
 
 if WIN32
 iowin32_src = iowin32.c
