diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build index fa0ea6ecf0..c7c31b78f6 100644 --- a/hw/vfio/meson.build +++ b/hw/vfio/meson.build @@ -34,7 +34,7 @@ system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files( 'iommufd.c', 'cpr-iommufd.c', )) -system_ss.add(when: 'CONFIG_IOMMUFD', if_false: files('iommufd-stubs.c')) +stub_ss.add(files('iommufd-stubs.c')) system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( 'display.c', ))