diff --git a/make/lo.mk b/make/lo.mk index b7a7488e..92056d64 100644 --- a/make/lo.mk +++ b/make/lo.mk @@ -54,7 +54,7 @@ $(SO_PREFIX)%.so $(SO_PREFIX)%.dll: %.o $(CPP_PREFIX)%.o $(OTHER_LIB) mv $@.tmp $@ $(OTHER_LIB)(%.o): %.o - $(AR) r $(OTHER_LIB) $< + $(AR) rU $(OTHER_LIB) $< $(RANLIB) $(OTHER_LIB) $(OTHER_LIB): $(OTHER_MEMBERS_O)