]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scsi/meson.build
meson: remove OS definitions from config_targetos
[mirror_qemu.git] / scsi / meson.build
index 53f3a1f71693c94d980b819a2e7ddb8887973128..0ff2b3affe0c58b14d397bab6fbf566459fc2e4f 100644 (file)
@@ -1,4 +1,6 @@
 block_ss.add(files('utils.c'))
-block_ss.add(when: 'CONFIG_LINUX',
-             if_true: files('pr-manager.c', 'pr-manager-helper.c'),
-             if_false: files('pr-manager-stub.c'))
+if targetos == 'linux'
+  block_ss.add(files('pr-manager.c', 'pr-manager-helper.c'))
+else
+  block_ss.add(files('pr-manager-stub.c'))
+endif