aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorRoman Bolshakov <r.bolshakov@yadro.com>2021-01-02 15:52:13 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-12 12:38:03 +0100
commit3eacf70bb5a83e4775ad8003cbca63a40f70c8c2 (patch)
tree1c2ea1a0fba521aa57e05054e24346777ca3d18b /block
parentd533d6359b8015e2207bb7ca86330da2ef9c3ef8 (diff)
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 'block')
-rw-r--r--block/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/meson.build b/block/meson.build
index d44c92ab04..eeaefe5809 100644
--- a/block/meson.build
+++ b/block/meson.build
@@ -40,7 +40,7 @@ block_ss.add(files(
'vmdk.c',
'vpc.c',
'write-threshold.c',
-), zstd, zlib)
+), zstd, zlib, gnutls)
softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('blkreplay.c'))