From dcb52c0f68d402b96a0bac30be449a79668b2e12 Mon Sep 17 00:00:00 2001
From: John Koleszar <jkoleszar@google.com>
Date: Tue, 24 Jul 2012 16:18:38 -0700
Subject: [PATCH] makefile: fix .so build rule

Use $^ vs $? to capture all prerequisites, rather than only newer ones.

Change-Id: I464ffb2913cf60f5ca5e07518ad4bf7da10baf87
---
 build/make/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/make/Makefile b/build/make/Makefile
index b6cf3208a3..adfe937236 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
-- 
GitLab