about summary refs log tree commit diff
path: root/bare/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bare/Makefile')
-rw-r--r--bare/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bare/Makefile b/bare/Makefile
index 588a713c83..573515347c 100644
--- a/bare/Makefile
+++ b/bare/Makefile
@@ -48,7 +48,7 @@ $(objpfx)lib$(config-vendor).a: $(bare-routines:%=$(objpfx)%.o)
 # from scratch each time.
 	rm -f $@
 ifdef objdir
-	cd $(objdir); $(AR) cq$(verbose) $@ $(^:$(objpfx)%=%)
+	cd $(objpfx); $(AR) cq$(verbose) $(@:$(objpfx)%=%) $(^:$(objpfx)%=%)
 else
 	$(AR) cq$(verbose) $@ $^
 endif