Added extra ranlib on libary files after being copied to the lib tree for OSX only.

This saves other OSX developers the trouble of manually running ranlib.
This is not a good solution (because I don't know the correct one) but it works.
Maarten
This commit is contained in:
2002-11-07 22:41:42 +00:00
parent e46a6d2611
commit 7325eff128
9 changed files with 35 additions and 0 deletions

View File

@@ -48,5 +48,9 @@ install: all debug
@[ -d $(NAN_STRING)/lib/debug ] || mkdir $(NAN_STRING)/lib/debug
cp -f $(DIR)/libstring.a $(NAN_STRING)/lib/
cp -f $(DIR)/debug/libstring.a $(NAN_STRING)/lib/debug/
ifeq ($(OS),darwin)
ranlib $(NAN_STRING)/lib/libstring.a
ranlib $(NAN_STRING)/lib/debug/libstring.a
endif
cp -f *.h $(NAN_STRING)/include/