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.