diff options
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 16ef5aa..8fa6ada 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -289,9 +289,9 @@ class BuildTarget(): self.process_objectlist(objects) self.process_kwargs(kwargs, environment) self.check_unknown_kwargs(kwargs) - if len(self.sources) == 0 and \ - len(self.generated) == 0 and \ - len(self.objects) == 0: + if len(self.sources) == 0 \ + and len(self.generated) == 0 \ + and len(self.objects) == 0: raise InvalidArguments('Build target %s has no sources.' % name) self.process_compilers() self.validate_sources() |