blob: 6faebd4e09123822aa1d5d52dd62f0980716ee08 [file] [log] [blame]
Andrew Geisslerd5838332022-05-27 11:33:10 -05001From d8265abdce5dc2bf74b3fccdf2b7257b4f3894f0 Mon Sep 17 00:00:00 2001
Brad Bishop79641f22019-09-10 07:20:22 -04002From: He Zhe <zhe.he@windriver.com>
3Date: Wed, 28 Aug 2019 19:56:28 +0800
Andrew Geisslerd5838332022-05-27 11:33:10 -05004Subject: [PATCH 04/12] configure: Add pkg-config handling for libgcrypt
Brad Bishop79641f22019-09-10 07:20:22 -04005
6libgcrypt may also be controlled by pkg-config, this patch adds pkg-config
7handling for libgcrypt.
8
9Upstream-Status: Denied [https://lists.nongnu.org/archive/html/qemu-devel/2019-08/msg06333.html]
10
11Signed-off-by: He Zhe <zhe.he@windriver.com>
Andrew Geissler82c905d2020-04-13 13:39:40 -050012
Brad Bishop79641f22019-09-10 07:20:22 -040013---
Andrew Geisslereff27472021-10-29 15:35:00 -050014 meson.build | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
Brad Bishop79641f22019-09-10 07:20:22 -040016
Andrew Geisslereff27472021-10-29 15:35:00 -050017diff --git a/meson.build b/meson.build
Andrew Geisslerd5838332022-05-27 11:33:10 -050018index 861de93c4..d45ff2d7c 100644
Andrew Geisslereff27472021-10-29 15:35:00 -050019--- a/meson.build
20+++ b/meson.build
Andrew Geisslerd5838332022-05-27 11:33:10 -050021@@ -1063,7 +1063,7 @@ endif
Andrew Geisslereff27472021-10-29 15:35:00 -050022 if not gnutls_crypto.found()
23 if (not get_option('gcrypt').auto() or have_system) and not get_option('nettle').enabled()
24 gcrypt = dependency('libgcrypt', version: '>=1.8',
25- method: 'config-tool',
26+ method: 'pkg-config',
27 required: get_option('gcrypt'),
28 kwargs: static_kwargs)
29 # Debian has removed -lgpg-error from libgcrypt-config
Andrew Geisslerd5838332022-05-27 11:33:10 -050030--
312.30.2
32