add ranlib for mac
diff --git a/unix/make/Make.Darwin-PowerMacintosh b/unix/make/Make.Darwin-PowerMacintosh index 14b8d4e..21ede6f 100644 --- a/unix/make/Make.Darwin-PowerMacintosh +++ b/unix/make/Make.Darwin-PowerMacintosh
@@ -4,3 +4,4 @@ AR=ar ARFLAGS=rvc NAN=nan64.$O +RANLIB=ranlib
diff --git a/unix/make/Makefile.LIB b/unix/make/Makefile.LIB index 9ebf560..bd655ce 100644 --- a/unix/make/Makefile.LIB +++ b/unix/make/Makefile.LIB
@@ -1,4 +1,5 @@ $(LIB): $(OFILES) $(AR) $(ARFLAGS) $(LIB) $(OFILES) + $(RANLIB) $(LIB) NUKEFILES+=$(LIB)
diff --git a/unix/make/Makefile.TOP b/unix/make/Makefile.TOP index c5a613d..d2a73de 100644 --- a/unix/make/Makefile.TOP +++ b/unix/make/Makefile.TOP
@@ -10,6 +10,8 @@ # the gnu rules will mess up bsd but not vice versa, # hence the gnu rules come first. +RANLIB=true + include Make.$(SYSNAME)-$(OBJTYPE) PREFIX=/usr/local