diff options
-rw-r--r-- | buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index b469a9870..b987bc03e 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -581,7 +581,7 @@ class Element(Plugin): if scope == Scope.RUN: for element in self.__runtime_dependencies: yield element - elif scope != Scope.BUILD: + elif scope == Scope.BUILD: for element in self.__build_dependencies: yield element else: |