diff options
author | Roman Bolshakov <r.bolshakov@yadro.com> | 2021-01-02 15:52:13 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-12 12:38:03 +0100 |
commit | 3eacf70bb5a83e4775ad8003cbca63a40f70c8c2 (patch) | |
tree | 1c2ea1a0fba521aa57e05054e24346777ca3d18b /tests/meson.build | |
parent | d533d6359b8015e2207bb7ca86330da2ef9c3ef8 (diff) | |
download | qemu-3eacf70bb5a83e4775ad8003cbca63a40f70c8c2.zip qemu-3eacf70bb5a83e4775ad8003cbca63a40f70c8c2.tar.gz qemu-3eacf70bb5a83e4775ad8003cbca63a40f70c8c2.tar.bz2 |
meson: Propagate gnutls dependency
crypto/tlscreds.h includes GnuTLS headers if CONFIG_GNUTLS is set, but
GNUTLS_CFLAGS, that describe include path, are not propagated
transitively to all users of crypto and build fails if GnuTLS headers
reside in non-standard directory (which is a case for homebrew on Apple
Silicon).
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20210102125213.41279-1-r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/meson.build b/tests/meson.build index 1fa068f..29ebaba 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -159,11 +159,11 @@ if have_block 'CONFIG_POSIX' in config_host tests += { 'test-crypto-tlscredsx509': ['crypto-tls-x509-helpers.c', 'pkix_asn1_tab.c', - tasn1, crypto], + tasn1, crypto, gnutls], 'test-crypto-tlssession': ['crypto-tls-x509-helpers.c', 'pkix_asn1_tab.c', 'crypto-tls-psk-helpers.c', - tasn1, crypto], + tasn1, crypto, gnutls], 'test-io-channel-tls': ['io-channel-helpers.c', 'crypto-tls-x509-helpers.c', 'pkix_asn1_tab.c', - tasn1, io, crypto]} + tasn1, io, crypto, gnutls]} endif if 'CONFIG_AUTH_PAM' in config_host tests += {'test-authz-pam': [authz]} |