diff options
author | Ross Burton <ross.burton@intel.com> | 2019-03-18 17:27:57 +0000 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2019-03-20 10:06:17 +0000 |
commit | 65e59c84a198062f21ab68fdae41b3e5de8d8480 (patch) | |
tree | e0a081529b3ff4764f4f62a4ebc34722615971ee /mesonbuild/munstable_coredata.py | |
parent | d57dd1092e84e08ee15d7063b6c56bd6d864f2e1 (diff) | |
download | meson-65e59c84a198062f21ab68fdae41b3e5de8d8480.tar.gz |
mesonbuild: allow multiple --cross-file options
Just like --native-file, allow multiple --cross-file options. This is mostly
unifying the logic between cross_files and config_files.
Diffstat (limited to 'mesonbuild/munstable_coredata.py')
-rw-r--r-- | mesonbuild/munstable_coredata.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/munstable_coredata.py b/mesonbuild/munstable_coredata.py index 78f3f3455..913f94214 100644 --- a/mesonbuild/munstable_coredata.py +++ b/mesonbuild/munstable_coredata.py @@ -81,8 +81,9 @@ def run(options): print('Last seen PKGCONFIG enviroment variable value: ' + v) elif k == 'version': print('Meson version: ' + v) - elif k == 'cross_file': - print('Cross File: ' + (v or 'None')) + elif k == 'cross_files': + if v: + print('Cross File: ' + ' '.join(v)) elif k == 'config_files': if v: print('Native File: ' + ' '.join(v)) |