mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
cfc1a889e5
commit
d0cda6f461
33 changed files with 197 additions and 197 deletions
|
@ -1,7 +1,7 @@
|
|||
plugin_ldflags = []
|
||||
# Modules need more symbols than just those in plugins/qemu-plugins.symbols
|
||||
if not enable_modules
|
||||
if targetos == 'darwin'
|
||||
if host_os == 'darwin'
|
||||
configure_file(
|
||||
input: files('qemu-plugins.symbols'),
|
||||
output: 'qemu-plugins-ld64.symbols',
|
||||
|
@ -14,7 +14,7 @@ if not enable_modules
|
|||
endif
|
||||
|
||||
if get_option('plugins')
|
||||
if targetos == 'windows'
|
||||
if host_os == 'windows'
|
||||
dlltool = find_program('dlltool', required: true)
|
||||
|
||||
# Generate a .lib file for plugins to link against.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue