diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-20 17:33:42 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-28 08:52:22 +0200 |
commit | 2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895 (patch) | |
tree | 8ede384bdaf5749378e1270129ebdc905f8fe83c /crypto | |
parent | 3730a7341f19cbadde4d12e214b7a82b9de01f75 (diff) | |
download | qemu-2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895.zip qemu-2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895.tar.gz qemu-2edd2c04c27b469ab2b46c6fe6e4bffe6b0c2895.tar.bz2 |
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.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/meson.build b/crypto/meson.build index 19c44be..f065f2f 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 |