summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorPaolo Bonzini2022-04-20 17:33:42 +0200
committerPaolo Bonzini2022-04-28 08:52:22 +0200
commit2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895 (patch)
tree8ede384bdaf5749378e1270129ebdc905f8fe83c /crypto
parentmeson, configure: move RDMA options to meson (diff)
downloadqemu-2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895.tar.gz
qemu-2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895.tar.xz
qemu-2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895.zip
meson, configure: move keyctl test to meson
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/meson.build b/crypto/meson.build
index 19c44bea89..f065f2f277 100644
--- a/crypto/meson.build
+++ b/crypto/meson.build
@@ -34,7 +34,9 @@ else
crypto_ss.add(files('hash-glib.c', 'hmac-glib.c', 'pbkdf-stub.c'))
endif
-crypto_ss.add(when: 'CONFIG_SECRET_KEYRING', if_true: files('secret_keyring.c'))
+if have_keyring
+ crypto_ss.add(files('secret_keyring.c'))
+endif
if have_afalg
crypto_ss.add(if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
endif