aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>2023-04-28 22:49:19 +0300
committerJuan Quintela <quintela@redhat.com>2023-05-10 18:48:11 +0200
commit43c71fe3b846222154a99a02b17818fe54c1edaf (patch)
tree7b9e9b8490bcab635ccd843d3fb23e535953dcb4
parent5d1d1fcf43ac54993d527612fccf9521c8608ae1 (diff)
downloadqemu-43c71fe3b846222154a99a02b17818fe54c1edaf.zip
qemu-43c71fe3b846222154a99a02b17818fe54c1edaf.tar.gz
qemu-43c71fe3b846222154a99a02b17818fe54c1edaf.tar.bz2
block/meson.build: prefer positive condition for replication
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Message-Id: <20230428194928.1426370-2-vsementsov@yandex-team.ru> Signed-off-by: Juan Quintela <quintela@redhat.com>
-rw-r--r--block/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/meson.build b/block/meson.build
index 13337bd..486dda8 100644
--- a/block/meson.build
+++ b/block/meson.build
@@ -92,7 +92,7 @@ block_ss.add(when: 'CONFIG_WIN32', if_true: files('file-win32.c', 'win32-aio.c')
block_ss.add(when: 'CONFIG_POSIX', if_true: [files('file-posix.c'), coref, iokit])
block_ss.add(when: libiscsi, if_true: files('iscsi-opts.c'))
block_ss.add(when: 'CONFIG_LINUX', if_true: files('nvme.c'))
-if not get_option('replication').disabled()
+if get_option('replication').allowed()
block_ss.add(files('replication.c'))
endif
block_ss.add(when: libaio, if_true: files('linux-aio.c'))