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/moto | |
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/moto')
-rw-r--r-- | intern/moto/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/moto/Makefile b/intern/moto/Makefile index 97b4b321d99..927b87bad24 100644 --- a/intern/moto/Makefile +++ b/intern/moto/Makefile @@ -48,5 +48,9 @@ install: all debug @[ -d $(NAN_MOTO)/lib/debug ] || mkdir $(NAN_MOTO)/lib/debug cp -f $(DIR)/libmoto.a $(NAN_MOTO)/lib/ cp -f $(DIR)/debug/libmoto.a $(NAN_MOTO)/lib/debug/ +ifeq ($(OS),darwin) + ranlib $(NAN_MOTO)/lib/libmoto.a + ranlib $(NAN_MOTO)/lib/debug/libmoto.a +endif cp -f include/*.h $(NAN_MOTO)/include/ |