@@ -23,7 +23,6 @@ system_ss.add(files(
'fd.c',
'file.c',
'global_state.c',
- 'migration-hmp-cmds.c',
'migration.c',
'multifd.c',
'multifd-device-state.c',
@@ -37,6 +36,7 @@ system_ss.add(files(
'socket.c',
'tls.c',
), gnutls, zlib)
+system_ss.add([spice_headers, files('migration-hmp-cmds.c'), spice])
if get_option('replication').allowed()
system_ss.add(files('colo-failover.c', 'colo.c', 'multifd-colo.c'))
@@ -5,8 +5,8 @@ system_ss.add(files(
'hmp-cmds.c',
'hmp.c',
'qemu-config-qmp.c',
+ 'qmp-cmds.c',
))
-system_ss.add([spice_headers, files('qmp-cmds.c')])
specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
- if_true: [files('hmp-target.c'), spice])
+ if_true: [files('hmp-target.c')])
When moving code around in commit 27be86351ec ("migration: Move the QMP command from monitor/ to migration/") we forgot to update the meson rule about SPICE pkg-config flags. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260427080738.77138-7-philmd@linaro.org> --- migration/meson.build | 2 +- monitor/meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)