--- a/Makefile.ori 2018-06-19 00:32:15.030453227 +0200 +++ b/Makefile 2018-06-19 00:34:45.071642597 +0200 @@ -1785,11 +1785,15 @@ $(THREAD_LIBS) $(LIBSDLMAIN) $(CLIENT_LIBS) $(RENDERER_LIBS) $(LIBS) endif +ifndef RANLIB +RANLIB=ranlib +endif + ifneq ($(strip $(LIBSDLMAIN)),) ifneq ($(strip $(LIBSDLMAINSRC)),) $(LIBSDLMAIN) : $(LIBSDLMAINSRC) cp $< $@ - ranlib $@ + $(RANLIB) $@ endif endif