diff options
author | Maarten Gribnau <mail@maartengribnau.com> | 2002-11-08 01:41:42 +0300 |
---|---|---|
committer | Maarten Gribnau <mail@maartengribnau.com> | 2002-11-08 01:41:42 +0300 |
commit | 7325eff128911019593c214e1ed3b507b7ce6abf (patch) | |
tree | ebf4fb476565fc5d3b68a04a170e8c39eaea118c /intern/string | |
parent | e46a6d261133f973c55756f35978c50effe621d2 (diff) |
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
Diffstat (limited to 'intern/string')
-rw-r--r-- | intern/string/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/string/Makefile b/intern/string/Makefile index b2ae80e2179..1079e3a281a 100644 --- a/intern/string/Makefile +++ b/intern/string/Makefile @@ -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/ |