summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorPaolo Bonzini2021-10-13 11:46:09 +0200
committerPaolo Bonzini2022-02-21 10:35:53 +0100
commitc55cf6ab03f4c4a7187452061f36e23ca03c78ee (patch)
treeb56a1ed31b0b4fe6169ce503af55c095d0f13a3b /crypto
parentmeson: define qemu_cflags/qemu_ldflags (diff)
downloadqemu-c55cf6ab03f4c4a7187452061f36e23ca03c78ee.tar.gz
qemu-c55cf6ab03f4c4a7187452061f36e23ca03c78ee.tar.xz
qemu-c55cf6ab03f4c4a7187452061f36e23ca03c78ee.zip
configure, meson: move some default-disabled options to meson_options.txt
These do not depend on --with-default-features, so they become booleans in meson too. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/meson.build b/crypto/meson.build
index 9bf3a431fe..19c44bea89 100644
--- a/crypto/meson.build
+++ b/crypto/meson.build
@@ -50,7 +50,7 @@ if gcrypt.found()
util_ss.add(gcrypt, files('random-gcrypt.c'))
elif gnutls.found()
util_ss.add(gnutls, files('random-gnutls.c'))
-elif 'CONFIG_RNG_NONE' in config_host
+elif get_option('rng_none')
util_ss.add(files('random-none.c'))
else
util_ss.add(files('random-platform.c'))