mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
add ranlib for mac
This commit is contained in:
parent
38c087aa6d
commit
66c1faee8d
3 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue