commit 66c1faee8dd835e8a6a5f6a743506c03df7272d2
parent 38c087aa6de2776139e7b4cbacd36942fa0b98de
Author: rsc <devnull@localhost>
Date: Sun, 30 Jan 2005 16:50:02 +0000
add ranlib for mac
Diffstat:
3 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/unix/make/Make.Darwin-PowerMacintosh b/unix/make/Make.Darwin-PowerMacintosh
@@ -4,3 +4,4 @@ O=o
AR=ar
ARFLAGS=rvc
NAN=nan64.$O
+RANLIB=ranlib
diff --git 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
@@ -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