aboutsummaryrefslogtreecommitdiff
path: root/bare
diff options
context:
space:
mode:
Diffstat (limited to 'bare')
-rw-r--r--bare/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bare/Makefile b/bare/Makefile
index 588a713..5735153 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