add ranlib for mac
This commit is contained in:
@@ -4,3 +4,4 @@ O=o
|
|||||||
AR=ar
|
AR=ar
|
||||||
ARFLAGS=rvc
|
ARFLAGS=rvc
|
||||||
NAN=nan64.$O
|
NAN=nan64.$O
|
||||||
|
RANLIB=ranlib
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
$(LIB): $(OFILES)
|
$(LIB): $(OFILES)
|
||||||
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
|
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
|
||||||
|
$(RANLIB) $(LIB)
|
||||||
|
|
||||||
NUKEFILES+=$(LIB)
|
NUKEFILES+=$(LIB)
|
||||||
|
|||||||
@@ -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,
|
# the gnu rules will mess up bsd but not vice versa,
|
||||||
# hence the gnu rules come first.
|
# hence the gnu rules come first.
|
||||||
|
|
||||||
|
RANLIB=true
|
||||||
|
|
||||||
include Make.$(SYSNAME)-$(OBJTYPE)
|
include Make.$(SYSNAME)-$(OBJTYPE)
|
||||||
|
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|||||||
Reference in New Issue
Block a user