diff --git a/zlib-1.2.4-autotools.patch b/zlib-1.2.4-autotools.patch index 73de59e..51124ea 100644 --- a/zlib-1.2.4-autotools.patch +++ b/zlib-1.2.4-autotools.patch @@ -18,7 +18,7 @@ diff -up zlib-1.2.4/contrib/minizip/configure.ac.atools zlib-1.2.4/contrib/miniz diff -up zlib-1.2.4/contrib/minizip/Makefile.am.atools zlib-1.2.4/contrib/minizip/Makefile.am --- zlib-1.2.4/contrib/minizip/Makefile.am.atools 2010-03-29 10:28:50.000000000 +0200 +++ zlib-1.2.4/contrib/minizip/Makefile.am 2010-03-29 10:32:11.000000000 +0200 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +ACLOCAL_AMFLAGS = -I m4 --install + +lib_LTLIBRARIES = libminizip.la @@ -30,7 +30,7 @@ diff -up zlib-1.2.4/contrib/minizip/Makefile.am.atools zlib-1.2.4/contrib/minizi + zip.c + +# do not build the static version of libminizip -+libminizip_la_CFLAGS = -shared ++libminizip_la_CFLAGS = -shared -I ../.. +libminizip_la_LDFLAGS = -version-info 1:0:0 -lz + +minizip_includedir = $(includedir)/minizip diff --git a/zlib.spec b/zlib.spec index 496fce5..490e5b7 100644 --- a/zlib.spec +++ b/zlib.spec @@ -93,7 +93,6 @@ make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.la - %clean rm -rf ${RPM_BUILD_ROOT}