diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-09 18:42:51 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-09 18:42:51 +0100 |
commit | 934956b50f91ab11486001661e1a4a8c2126f788 (patch) | |
tree | 9db884fd9d6573e045baf9d74a8d7af07a1b6ebd | |
parent | ee83336050553a2dbd64c27b8e384139c7ccec9a (diff) |
Darwin's ar is retarded. Workarounding.
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -194,6 +194,11 @@ LuaJIT: $(MAKE) -C LuaJIT CC="$(CC) $(ARCH_FLAGS)" BUILDMODE=static libBalau.a: LuaJIT $(BALAU_OBJECTS) +ifeq ($(SYSTEM),Darwin) +ifneq ($(CROSSCOMPILE),true) + rm -f libBalau.a +endif +endif $(AR) libBalau.a $(BALAU_OBJECTS) %.$(BINEXT) : %.o $(LIB) |