From 3e4846f4321463f0a51f6a04d9930733f99917d6 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] configure --disable-static didn't work. --- libxslt/mingw32-libxslt.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libxslt/mingw32-libxslt.spec b/libxslt/mingw32-libxslt.spec index 67e105e..aae5f88 100644 --- a/libxslt/mingw32-libxslt.spec +++ b/libxslt/mingw32-libxslt.spec @@ -51,7 +51,7 @@ installed. The xsltproc command is a command line interface to the XSLT engine %build PATH=%{_mingw32_bindir}:$PATH \ -%{_mingw32_configure} --without-python --enable-shared --disable-static +%{_mingw32_configure} --without-python --enable-shared make %{?_smp_mflags} gzip -9 ChangeLog @@ -60,6 +60,11 @@ gzip -9 ChangeLog rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +# Remove static libraries but DON'T remove *.dll.a files. +# Note that ./configure --disable-static doesn't work. +rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libexslt.a +rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libxslt.a + # Remove doc and man which duplicate stuff already in Fedora native package. rm -r $RPM_BUILD_ROOT%{_mingw32_docdir} rm -r $RPM_BUILD_ROOT%{_mingw32_mandir} @@ -89,7 +94,6 @@ rm -rf $RPM_BUILD_ROOT %changelog * Fri Jan 23 2009 Richard W.M. Jones - 1.1.24-3 -- Disable static libraries. - Use _smp_mflags. * Sat Oct 25 2008 Richard W.M. Jones - 1.1.24-2 -- 1.8.3.1