aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2018-12-30 10:59:58 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-01-06 12:19:31 +0100
commit2e81631d0c892d4842412c5244d9374b390f3787 (patch)
treeaf504b848c9b34765dbbc1303f7a9b3b019d27e4 /mesonbuild/mintro.py
parent7cf0e307074f11028c383a85616ff7c5a3a1b529 (diff)
downloadmeson-2e81631d0c892d4842412c5244d9374b390f3787.zip
meson-2e81631d0c892d4842412c5244d9374b390f3787.tar.gz
meson-2e81631d0c892d4842412c5244d9374b390f3787.tar.bz2
Keep 'filename' and 'install_filename' as strings
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r--mesonbuild/mintro.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index 9372ed8..4de16ca 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -99,14 +99,15 @@ def list_targets(builddata: build.Build, installdata, backend: backends.Backend)
'name': target.get_basename(),
'id': idname,
'type': target.get_typename(),
- 'filename': fname,
+ 'filename': fname[0], # TODO Change this to the full list in a seperate PR
'build_by_default': target.build_by_default,
'sources': backend.get_introspection_data(idname, target)
}
if installdata and target.should_install():
t['installed'] = True
- t['install_filename'] = [intall_lookuptable.get(x, None) for x in target.get_outputs()]
+ # TODO Change this to the full list in a seperate PR
+ t['install_filename'] = [intall_lookuptable.get(x, None) for x in target.get_outputs()][0]
else:
t['installed'] = False
tlist.append(t)