aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-08-28 15:07:21 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-08 07:17:09 +0200
commit9866a33cbb7046891dec3dcc9ca2015828673afe (patch)
tree9b173684f68a7c4f7ff1b07a43987d7c7c0913f2 /meson.build
parent8ce0a45fa24b2dbb7d9e33eecad13a6fde962dbb (diff)
downloadqemu-9866a33cbb7046891dec3dcc9ca2015828673afe.zip
qemu-9866a33cbb7046891dec3dcc9ca2015828673afe.tar.gz
qemu-9866a33cbb7046891dec3dcc9ca2015828673afe.tar.bz2
meson: declare keyutils dependency
Rename the variable to be more explicit. A further clean-up patch will move the actual to dependency check to meson entirely. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200828110734.1638685-4-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 1ac4266..d3cf531 100644
--- a/meson.build
+++ b/meson.build
@@ -415,6 +415,10 @@ if 'CONFIG_TASN1' in config_host
tasn1 = declare_dependency(compile_args: config_host['TASN1_CFLAGS'].split(),
link_args: config_host['TASN1_LIBS'].split())
endif
+keyutils = not_found
+if 'CONFIG_KEYUTILS' in config_host
+ keyutils = declare_dependency(link_args: '-lkeyutils')
+endif
# Create config-host.h