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} \
|
--libexecdir=%{_libexecdir} \
|
||||||
--localstatedir=%{_localstatedir} \
|
--localstatedir=%{_localstatedir} \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--infodir=%{_infodir} \
|
--infodir=%{_infodir}
|
||||||
--disable-static
|
|
||||||
|
|
||||||
## build not smp safe:
|
## build not smp safe:
|
||||||
make # %%{?_smp_mflags}
|
make # %%{?_smp_mflags}
|
||||||
@ -107,8 +106,9 @@ make check VERBOSE=yes
|
|||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
# info's TOP dir (by default owned by info)
|
# info's TOP dir (by default owned by info)
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
# *.la files generated by libtool shouldn't be distributed
|
# *.la *.a files generated by libtool shouldn't be distributed (and the
|
||||||
rm -f %{buildroot}%{_libdir}/libltdl.la
|
# `./configure --disable-static' breaks testsuite)
|
||||||
|
rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :
|
||||||
|
Loading…
Reference in New Issue
Block a user