Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Gribnau <mail@maartengribnau.com>2002-11-08 01:41:42 +0300
committerMaarten Gribnau <mail@maartengribnau.com>2002-11-08 01:41:42 +0300
commit7325eff128911019593c214e1ed3b507b7ce6abf (patch)
treeebf4fb476565fc5d3b68a04a170e8c39eaea118c /intern/keymaker
parente46a6d261133f973c55756f35978c50effe621d2 (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/keymaker')
-rw-r--r--intern/keymaker/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/keymaker/Makefile b/intern/keymaker/Makefile
index 0ed35bc2b44..21ff0c70192 100644
--- a/intern/keymaker/Makefile
+++ b/intern/keymaker/Makefile
@@ -73,6 +73,9 @@ install: all debug
@[ -d $(LCGDIR)/$(LIBNAME)/lib ] || mkdir $(LCGDIR)/$(LIBNAME)/lib
cp -f blenkey.h $(LCGDIR)/$(LIBNAME)/include/blenkey.h
cp -f $(LIB_a) $(LCGDIR)/$(LIBNAME)/lib/
+ifeq ($(OS),darwin)
+ ranlib $(LCGDIR)/$(LIBNAME)/lib/lib$(LIBNAME).a
+endif
$(DIR)/$(DEBUG_DIR)keyloader: $(LOADER_OBJS) $(LIB_a)
$(CC) $(LDFLAGS) -o $@ $(LOADER_OBJS) $(LIB_a) $(LIBS)