summary refs log tree commit diff stats
path: root/system/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'system/meson.build')
-rw-r--r--system/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/meson.build b/system/meson.build
index 0632a3daa8..25e2117250 100644
--- a/system/meson.build
+++ b/system/meson.build
@@ -33,6 +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'))
-if targetos == 'linux'
-  system_ss.add('async-teardown.c')
+if host_os == 'linux'
+  system_ss.add(files('async-teardown.c'))
 endif