diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-11-03 09:17:48 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-12-31 09:11:29 +0100 |
commit | d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b (patch) | |
tree | c48bd2a0ab0da96761a6b75cdb66cb1ed36a5090 /block/meson.build | |
parent | cfc1a889e509ffeba6e44cca8ff626751bc4219e (diff) |
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 'block/meson.build')
-rw-r--r-- | block/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/meson.build b/block/meson.build index ddea1e4007..e1f03fd773 100644 --- a/block/meson.build +++ b/block/meson.build @@ -88,13 +88,13 @@ if get_option('parallels').allowed() block_ss.add(files('parallels.c', 'parallels-ext.c')) endif -if targetos == 'windows' +if host_os == 'windows' block_ss.add(files('file-win32.c', 'win32-aio.c')) else block_ss.add(files('file-posix.c'), coref, iokit) endif block_ss.add(when: libiscsi, if_true: files('iscsi-opts.c')) -if targetos == 'linux' +if host_os == 'linux' block_ss.add(files('nvme.c')) endif if get_option('replication').allowed() |