diff options
Diffstat (limited to 'system/meson.build')
| -rw-r--r-- | system/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/meson.build b/system/meson.build index 3a64dd89de..25e2117250 100644 --- a/system/meson.build +++ b/system/meson.build @@ -33,4 +33,6 @@ endif system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c')) system_ss.add(when: fdt, if_true: files('device_tree.c')) -system_ss.add(when: 'CONFIG_LINUX', if_true: files('async-teardown.c')) +if host_os == 'linux' + system_ss.add(files('async-teardown.c')) +endif |