mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -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
|
@ -25,7 +25,7 @@ endif
|
|||
system_ss.add([spice_headers, files('spice-module.c')])
|
||||
system_ss.add(when: spice_protocol, if_true: files('vdagent.c'))
|
||||
|
||||
if targetos == 'linux'
|
||||
if host_os == 'linux'
|
||||
system_ss.add(files('input-linux.c', 'udmabuf.c'))
|
||||
endif
|
||||
system_ss.add(when: cocoa, if_true: files('cocoa.m'))
|
||||
|
@ -75,7 +75,7 @@ endif
|
|||
if dbus_display
|
||||
dbus_ss = ss.source_set()
|
||||
env = environment()
|
||||
env.set('TARGETOS', targetos)
|
||||
env.set('HOST_OS', host_os)
|
||||
xml = custom_target('dbus-display preprocess',
|
||||
input: 'dbus-display1.xml',
|
||||
output: 'dbus-display1.xml',
|
||||
|
@ -105,7 +105,7 @@ if dbus_display
|
|||
endif
|
||||
|
||||
if gtk.found()
|
||||
if targetos == 'windows'
|
||||
if host_os == 'windows'
|
||||
system_ss.add(files('win32-kbd-hook.c'))
|
||||
endif
|
||||
|
||||
|
@ -121,7 +121,7 @@ if gtk.found()
|
|||
endif
|
||||
|
||||
if sdl.found()
|
||||
if targetos == 'windows'
|
||||
if host_os == 'windows'
|
||||
system_ss.add(files('win32-kbd-hook.c'))
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue