diff options
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r-- | src/buildstream/element.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index f5b73c6f6..ca573bee1 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -3099,7 +3099,7 @@ class Element(Plugin): ] else: dependencies = [ - e.name for e in self.dependencies(Scope.BUILD, recurse=False) + [e.project_name, e.name] for e in self.dependencies(Scope.BUILD, recurse=False) ] self.__weak_cache_key = self._calculate_cache_key(dependencies) @@ -3111,7 +3111,7 @@ class Element(Plugin): if self.__strict_cache_key is None: dependencies = [ - [e.name, e.__strict_cache_key] if e.__strict_cache_key is not None else None + [e.project_name, e.name, e.__strict_cache_key] if e.__strict_cache_key is not None else None for e in self.dependencies(Scope.BUILD) ] self.__strict_cache_key = self._calculate_cache_key(dependencies) |