]> git.proxmox.com Git - mirror_qemu.git/commitdiff
meson-build: Enable CONFIG_REPLICATION only when replication is set
authorJuan Quintela <quintela@redhat.com>
Fri, 2 Sep 2022 16:51:25 +0000 (18:51 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 20 Sep 2022 10:34:31 +0000 (12:34 +0200)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902165126.1482-8-quintela@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
meson.build

index c2adb7caf4163f71c69237271944b1fdfdc3e6dd..3885fc1076335280bee60fdd9435e3828233b474 100644 (file)
@@ -1878,7 +1878,7 @@ config_host_data.set('CONFIG_DEBUG_STACK_USAGE', get_option('debug_stack_usage')
 config_host_data.set('CONFIG_GPROF', get_option('gprof'))
 config_host_data.set('CONFIG_LIVE_BLOCK_MIGRATION', get_option('live_block_migration').allowed())
 config_host_data.set('CONFIG_QOM_CAST_DEBUG', get_option('qom_cast_debug'))
-config_host_data.set('CONFIG_REPLICATION', get_option('live_block_migration').allowed())
+config_host_data.set('CONFIG_REPLICATION', get_option('replication').allowed())
 
 # has_header
 config_host_data.set('CONFIG_EPOLL', cc.has_header('sys/epoll.h'))