aboutsummaryrefslogtreecommitdiff
path: root/crypto/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-11-08 14:02:42 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-21 10:35:52 +0100
commit34b52615a09a061bc03bbc5aa35a998ba79d9f22 (patch)
tree2b3dda5c676c9be9dcf43f6a519cc7c65d9aa514 /crypto/meson.build
parentb87df9043ce44dd2de36a09846be2e398a827aad (diff)
downloadqemu-34b52615a09a061bc03bbc5aa35a998ba79d9f22.zip
qemu-34b52615a09a061bc03bbc5aa35a998ba79d9f22.tar.gz
qemu-34b52615a09a061bc03bbc5aa35a998ba79d9f22.tar.bz2
configure, meson: move AF_ALG test to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/meson.build')
-rw-r--r--crypto/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/meson.build b/crypto/meson.build
index 95a6a83..9bf3a43 100644
--- a/crypto/meson.build
+++ b/crypto/meson.build
@@ -35,7 +35,9 @@ else
endif
crypto_ss.add(when: 'CONFIG_SECRET_KEYRING', if_true: files('secret_keyring.c'))
-crypto_ss.add(when: 'CONFIG_AF_ALG', if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
+if have_afalg
+ crypto_ss.add(if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
+endif
crypto_ss.add(when: gnutls, if_true: files('tls-cipher-suites.c'))
util_ss.add(files('aes.c'))