about summary refs log tree commit diff
path: root/libraries.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libraries.mk')
-rw-r--r--libraries.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries.mk b/libraries.mk
index 21718c496a25..547f393e3a8e 100644
--- a/libraries.mk
+++ b/libraries.mk
@@ -109,7 +109,7 @@ define build-library
   $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj)_CXXFLAGS=$$($(1)_CXXFLAGS)))
 
   # Make each object file depend on the common dependencies.
-  $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS)))
+  $$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS) $$(GLOBAL_COMMON_DEPS)))
 
   # Include .dep files, if they exist.
   $(1)_DEPS := $$(foreach fn, $$($(1)_OBJS), $$(call filename-to-dep, $$(fn)))