diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2012-10-25 09:30:36 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2012-10-25 09:31:36 +0200 |
commit | c49bc7bb8e449b66bd3401e9b709c195cc7a9184 (patch) | |
tree | ca0aea7373ea052f2d8049e081d485b1d91ae8fb | |
parent | 4460f68b01a15961562cdebcc1186976e585752f (diff) | |
download | libtool-c49bc7bb8e449b66bd3401e9b709c195cc7a9184.tar.gz libtool-c49bc7bb8e449b66bd3401e9b709c195cc7a9184.tar.xz libtool-c49bc7bb8e449b66bd3401e9b709c195cc7a9184.zip |
No, `./configure --disable-static' breaks `make check'
-rw-r--r-- | libtool.spec | 8 |
1 files 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 || : |