changeset 567:6261511ecc96

Object files were added to the thlibs.a archive twice. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Nov 2012 12:05:12 +0200
parents f0354b35d906
children afb4caf32bdf
files Makefile.gen
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Thu Nov 15 21:39:03 2012 +0200
+++ b/Makefile.gen	Tue Nov 20 12:05:12 2012 +0200
@@ -38,7 +38,7 @@
 	$(CC) $(CFLAGS) -c -o $@ $< -I$(THLIBS)
 
 $(THLIBS_A): $(addprefix $(OBJPATH),$(THLIBS_OBJ))
-	$(AR) cru $@ $+
+	$(AR) cru $@ $(addprefix $(OBJPATH),$(THLIBS_OBJ))
 	$(RANLIB) $@
 
 main.c: VERSION