diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-09 13:36:13 +0530 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-13 09:37:48 +0530 |
| commit | 2c83bd16fc03afd2d8605734dce1ffc1946bf3d2 (patch) | |
| tree | 8eefd42ddd79dfda4b4fb90dada8e2efb082bfb7 /mesonbuild/build.py | |
| parent | 3fad3cbb8184c412061ac5543b7f7d73efa4c946 (diff) | |
| download | meson-2c83bd16fc03afd2d8605734dce1ffc1946bf3d2.tar.gz | |
Test targets with only generated and prebuilt objects
Diffstat (limited to 'mesonbuild/build.py')
| -rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 5e270a28a..106386cc6 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -327,7 +327,7 @@ class BuildTarget(): for s in objects: if hasattr(s, 'held_object'): s = s.held_object - if isinstance(s, (str, ExtractedObjects)): + if isinstance(s, (str, File, ExtractedObjects)): self.objects.append(s) elif isinstance(s, (GeneratedList, CustomTarget)): msg = 'Generated files are not allowed in the \'objects\' kwarg ' + \ |
