From c49bc7bb8e449b66bd3401e9b709c195cc7a9184 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 25 Oct 2012 09:30:36 +0200 Subject: [PATCH] No, `./configure --disable-static' breaks `make check' --- libtool.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libtool.spec b/libtool.spec index 9366c44..48da088 100644 --- a/libtool.spec +++ b/libtool.spec @@ -89,8 +89,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC" --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --mandir=%{_mandir} \ - --infodir=%{_infodir} \ - --disable-static + --infodir=%{_infodir} ## build not smp safe: make # %%{?_smp_mflags} @@ -107,8 +106,9 @@ make check VERBOSE=yes make install DESTDIR=%{buildroot} # info's TOP dir (by default owned by info) rm -f %{buildroot}%{_infodir}/dir -# *.la files generated by libtool shouldn't be distributed -rm -f %{buildroot}%{_libdir}/libltdl.la +# *.la *.a files generated by libtool shouldn't be distributed (and the +# `./configure --disable-static' breaks testsuite) +rm -f %{buildroot}%{_libdir}/libltdl.{a,la} %post /sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :