about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index afd4aa1933..ff79700b22 100644
--- a/Makerules
+++ b/Makerules
@@ -554,7 +554,9 @@ lib-noranlib: libobjs
 # Makefiles can define `elide-routines.so = foo' to leave foo.so out.
 o-objects = $(patsubst %.o,%$o,$(filter-out $(patsubst %,$(objpfx)%.o,\
 						       $(elide-routines$o)),\
-					    $(objects)))
+					    $(objects))) \
+	    $(addprefix $(objpfx),$(o-objects$o))
+
 others: $(addprefix $(objpfx),$(install-lib))
 
 ifndef objects