aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unix/make/Make.Darwin-PowerMacintosh1
-rw-r--r--unix/make/Makefile.LIB1
-rw-r--r--unix/make/Makefile.TOP2
3 files changed, 4 insertions, 0 deletions
diff --git a/unix/make/Make.Darwin-PowerMacintosh b/unix/make/Make.Darwin-PowerMacintosh
index 14b8d4e7..21ede6f2 100644
--- 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
index 9ebf5606..bd655ce5 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 c5a613de..d2a73de0 100644
--- 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