Define RANLIB=:

The make install rule runs $(RANLIB) at various points which is
not necessary on any modern system.
This commit is contained in:
Richard W.M. Jones 2022-09-20 15:06:06 +01:00
parent 1f566b6963
commit e56671828f

View File

@ -85,7 +85,8 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
make install \ make install \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \ BINDIR=$RPM_BUILD_ROOT%{_bindir} \
INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/labltk \ INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/labltk \
STUBLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs STUBLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs \
RANLIB=:
%if %{native_compiler} %if %{native_compiler}
# The *.o files are not installed by the Makefile. AIUI # The *.o files are not installed by the Makefile. AIUI
# that prevents linking with native code programs. # that prevents linking with native code programs.