summary refs log tree commit diff stats
path: root/hw/ppc/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/meson.build')
-rw-r--r--hw/ppc/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/meson.build b/hw/ppc/meson.build
index 3dedcf3043..eba3406e7f 100644
--- a/hw/ppc/meson.build
+++ b/hw/ppc/meson.build
@@ -34,7 +34,7 @@ ppc_ss.add(when: ['CONFIG_PSERIES', 'CONFIG_TCG'], if_true: files(
   'spapr_softmmu.c',
 ))
 ppc_ss.add(when: 'CONFIG_SPAPR_RNG', if_true: files('spapr_rng.c'))
-if targetos == 'linux'
+if host_os == 'linux'
   ppc_ss.add(when: 'CONFIG_PSERIES', if_true: files(
     'spapr_pci_vfio.c',
   ))