aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-08-30 11:39:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-07 13:32:37 +0200
commit1f2146f7ca0f04afc62c4a170ec78bd030f3e72f (patch)
treed0b5a25c4f39e9ea2cdf38d230907fe3acbbdf90 /tests/meson.build
parent73258b386489c410e4d449159a6c8420e3b7733f (diff)
downloadqemu-1f2146f7ca0f04afc62c4a170ec78bd030f3e72f.zip
qemu-1f2146f7ca0f04afc62c4a170ec78bd030f3e72f.tar.gz
qemu-1f2146f7ca0f04afc62c4a170ec78bd030f3e72f.tar.bz2
configure, meson: remove target OS symbols from config-host.mak
Stop applying config-host.mak to the sourcesets, since it does not have any more CONFIG_* symbols coming from the command line. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index c2528a8..debaa45 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -68,7 +68,7 @@ test_deps = {
'test-qht-par': qht_bench,
}
-if have_tools and have_vhost_user and 'CONFIG_LINUX' in config_host
+if have_tools and have_vhost_user and targetos == 'linux'
executable('vhost-user-bridge',
sources: files('vhost-user-bridge.c'),
dependencies: [qemuutil, vhost_user])