diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-12 13:19:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-18 08:53:52 +0200 |
commit | 6739825aa6e432fdb668e842def12c5deb3e5bad (patch) | |
tree | 5988d5fd30070826da2bef77a9058494058044a6 /util/meson.build | |
parent | 721fa5e563e8174d6c33e1e413cebb5442625932 (diff) |
build: move coroutine backend selection to meson
To simplify the code, rename coroutine-win32.c to match the option
passed to configure.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/meson.build')
-rw-r--r-- | util/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build index 2cb103fc72..e1f1c39e10 100644 --- a/util/meson.build +++ b/util/meson.build @@ -78,7 +78,7 @@ if have_block or have_ga util_ss.add(files('base64.c')) util_ss.add(files('main-loop.c')) util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c')) - util_ss.add(files('coroutine-@0@.c'.format(config_host['CONFIG_COROUTINE_BACKEND']))) + util_ss.add(files(f'coroutine-@coroutine_backend@.c')) util_ss.add(files('thread-pool.c', 'qemu-timer.c')) util_ss.add(files('qemu-sockets.c')) endif |