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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user