summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorPaolo Bonzini2021-06-03 15:01:35 +0200
committerPaolo Bonzini2021-07-06 08:33:51 +0200
commit6d7c7c2d1d95cc6cdb56706bfa0446ad68e2b952 (patch)
treec793ef3e9e0b87844909e6bc2797a6bf63ec9963 /util
parentmeson: sort existing compiler tests (diff)
downloadqemu-6d7c7c2d1d95cc6cdb56706bfa0446ad68e2b952.tar.gz
qemu-6d7c7c2d1d95cc6cdb56706bfa0446ad68e2b952.tar.xz
qemu-6d7c7c2d1d95cc6cdb56706bfa0446ad68e2b952.zip
meson: store dependency('threads') in a variable
It can be useful for has_function checks. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
-rw-r--r--util/meson.build1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build
index 97fad44105..6af05a5716 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -1,4 +1,3 @@
-util_ss.add(dependency('threads'))
util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c'))
util_ss.add(when: 'CONFIG_ATOMIC64', if_false: files('atomic64.c'))
util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c'))