Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> --- meson.build | 4 ++-- system/meson.build | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build index f94209bb301..b72d4ce8618 100644 --- a/meson.build +++ b/meson.build @@ -4420,14 +4420,14 @@ foreach target : target_dirs execs = [{ 'name': 'qemu-system-' + target_name, 'win_subsystem': 'console', - 'sources': files('system/main.c'), + 'sources': [], 'dependencies': [sdl] }] if host_os == 'windows' and (sdl.found() or gtk.found()) execs += [{ 'name': 'qemu-system-' + target_name + 'w', 'win_subsystem': 'windows', - 'sources': files('system/main.c'), + 'sources': [], 'dependencies': [sdl] }] endif diff --git a/system/meson.build b/system/meson.build index 6d21ff9faa7..f358c2c446d 100644 --- a/system/meson.build +++ b/system/meson.build @@ -18,6 +18,7 @@ system_ss.add(files( 'globals.c', 'ioport.c', 'ram-block-attributes.c', + 'main.c', 'memory_mapping.c', 'memory.c', 'physmem.c', -- 2.47.2