diff --git a/build/make/Makefile b/build/make/Makefile
index b6cf3208a340edb2929973efd04777ba2ca4cb87..adfe9372369264d9d1f1ed0a87eb7e0d7a360d9d 100755
--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -250,7 +250,7 @@ $(1):
 	$(qexec)$$(LD) -shared $$(LDFLAGS) \
             -Wl,--no-undefined -Wl,-soname,$$(SONAME) \
             -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
-            $$(filter %.o,$$?) $$(extralibs)
+            $$(filter %.o,$$^) $$(extralibs)
 endef
 
 define lipo_lib_template