aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-12-09 13:36:13 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-12-13 09:37:48 +0530
commit2c83bd16fc03afd2d8605734dce1ffc1946bf3d2 (patch)
tree8eefd42ddd79dfda4b4fb90dada8e2efb082bfb7 /mesonbuild/interpreterbase.py
parent3fad3cbb8184c412061ac5543b7f7d73efa4c946 (diff)
downloadmeson-2c83bd16fc03afd2d8605734dce1ffc1946bf3d2.zip
meson-2c83bd16fc03afd2d8605734dce1ffc1946bf3d2.tar.gz
meson-2c83bd16fc03afd2d8605734dce1ffc1946bf3d2.tar.bz2
Test targets with only generated and prebuilt objects
Diffstat (limited to 'mesonbuild/interpreterbase.py')
-rw-r--r--mesonbuild/interpreterbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreterbase.py b/mesonbuild/interpreterbase.py
index 97814f4..af1e8fb 100644
--- a/mesonbuild/interpreterbase.py
+++ b/mesonbuild/interpreterbase.py
@@ -526,7 +526,7 @@ class InterpreterBase:
def flatten(self, args):
if isinstance(args, mparser.StringNode):
return args.value
- if isinstance(args, (int, str, InterpreterObject)):
+ if isinstance(args, (int, str, mesonlib.File, InterpreterObject)):
return args
result = []
for a in args: