diff Makefile.gen @ 522:2a70f5902b70

Objects being added twice to the lib archive fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 Nov 2012 21:20:42 +0200
parents e1526854e735
children 1993cd341079
line wrap: on
line diff
--- a/Makefile.gen	Mon Nov 19 17:34:50 2012 +0200
+++ b/Makefile.gen	Wed Nov 21 21:20:42 2012 +0200
@@ -319,7 +319,7 @@
 
 $(DMLIB_A): $(addprefix $(OBJPATH),$(DMLIB_OBJS)) $(DMLIB)Makefile.gen config.mak
 	@echo " AR $@ $(addprefix $(OBJPATH),$(DMLIB_OBJS))"
-	@$(AR) cru $@ $+ $(addprefix $(OBJPATH),$(DMLIB_OBJS))
+	@$(AR) cru $@ $(addprefix $(OBJPATH),$(DMLIB_OBJS))
 	@$(RANLIB) $@