add ranlib for mac

This commit is contained in:
rsc 2005-01-30 16:50:02 +00:00
parent 38c087aa6d
commit 66c1faee8d
3 changed files with 4 additions and 0 deletions

View file

@ -4,3 +4,4 @@ O=o
AR=ar
ARFLAGS=rvc
NAN=nan64.$O
RANLIB=ranlib

View file

@ -1,4 +1,5 @@
$(LIB): $(OFILES)
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
$(RANLIB) $(LIB)
NUKEFILES+=$(LIB)

View file

@ -10,6 +10,8 @@ OBJTYPE!=uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'
# 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