add header files option

This commit is contained in:
Ivana Varekova 2010-03-31 11:11:50 +00:00
parent 8ae5ec10b9
commit b49677f0fb
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -93,7 +93,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf ${RPM_BUILD_ROOT}