No, ./configure --disable-static' breaks
make check'
This commit is contained in:
parent
4460f68b01
commit
c49bc7bb8e
@ -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 || :
|
||||
|
Loading…
Reference in New Issue
Block a user