]> git.proxmox.com Git - mirror_qemu.git/blobdiff - system/meson.build
meson: remove OS definitions from config_targetos
[mirror_qemu.git] / system / meson.build
index 3a64dd89de1f1c79201df75ccbc633c519ca9b4c..0632a3daa8a2dd46a7b3bc52a2f1ba1c2bbaefe7 100644 (file)
@@ -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 targetos == 'linux'
+  system_ss.add('async-teardown.c')
+endif