aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-09-28 12:00:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-18 10:01:02 +0200
commitb4d61d3d816fcde0aa560d16a44f4790d7c8de3f (patch)
tree6d5bd2b0ba5575086a4a8fa0a154063b0c36c21b /meson.build
parent79fccf7e2bd792e20f2ceab9b5a30d9f47dbf409 (diff)
downloadqemu-b4d61d3d816fcde0aa560d16a44f4790d7c8de3f.zip
qemu-b4d61d3d816fcde0aa560d16a44f4790d7c8de3f.tar.gz
qemu-b4d61d3d816fcde0aa560d16a44f4790d7c8de3f.tar.bz2
meson: add a note on why we use config_host for program paths
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 2bda62a..0182622 100644
--- a/meson.build
+++ b/meson.build
@@ -4021,6 +4021,11 @@ summary(summary_info, bool_yn: true, section: 'Directories')
summary_info = {}
summary_info += {'python': '@0@ (version: @1@)'.format(python.full_path(), python.language_version())}
summary_info += {'sphinx-build': sphinx_build}
+
+# FIXME: the [binaries] section of machine files, which can be probed
+# with find_program(), would be great for passing gdb and genisoimage
+# paths from configure to Meson. However, there seems to be no way to
+# hide a program (for example if gdb is too old).
if config_host.has_key('GDB')
summary_info += {'gdb': config_host['GDB']}
endif