From e56671828f3b7f4259307305f91033e6cab3f372 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 20 Sep 2022 15:06:06 +0100 Subject: [PATCH] Define RANLIB=: The make install rule runs $(RANLIB) at various points which is not necessary on any modern system. --- ocaml-labltk.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ocaml-labltk.spec b/ocaml-labltk.spec index d8cccce..3a6a050 100644 --- a/ocaml-labltk.spec +++ b/ocaml-labltk.spec @@ -85,7 +85,8 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs make install \ BINDIR=$RPM_BUILD_ROOT%{_bindir} \ 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} # The *.o files are not installed by the Makefile. AIUI # that prevents linking with native code programs.