aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-11-03 09:17:48 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-12-31 09:11:29 +0100
commitd0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b (patch)
treec48bd2a0ab0da96761a6b75cdb66cb1ed36a5090 /system
parentcfc1a889e509ffeba6e44cca8ff626751bc4219e (diff)
downloadqemu-d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b.zip
qemu-d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b.tar.gz
qemu-d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b.tar.bz2
configure, meson: rename targetos to host_os
This variable is about the host OS, not the target. It is used a lot more since the Meson conversion, but the original sin dates back to 2003. Time to fix it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'system')
-rw-r--r--system/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/meson.build b/system/meson.build
index 0632a3d..25e2117 100644
--- a/system/meson.build
+++ b/system/meson.build
@@ -33,6 +33,6 @@ endif
system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
system_ss.add(when: fdt, if_true: files('device_tree.c'))
-if targetos == 'linux'
- system_ss.add('async-teardown.c')
+if host_os == 'linux'
+ system_ss.add(files('async-teardown.c'))
endif