0004-configure-Add-pkg-config-handling-for-libgcrypt.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. From d8265abdce5dc2bf74b3fccdf2b7257b4f3894f0 Mon Sep 17 00:00:00 2001
  2. From: He Zhe <zhe.he@windriver.com>
  3. Date: Wed, 28 Aug 2019 19:56:28 +0800
  4. Subject: [PATCH 04/12] configure: Add pkg-config handling for libgcrypt
  5. libgcrypt may also be controlled by pkg-config, this patch adds pkg-config
  6. handling for libgcrypt.
  7. Upstream-Status: Denied [https://lists.nongnu.org/archive/html/qemu-devel/2019-08/msg06333.html]
  8. Signed-off-by: He Zhe <zhe.he@windriver.com>
  9. ---
  10. meson.build | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/meson.build b/meson.build
  13. index 861de93c4..d45ff2d7c 100644
  14. --- a/meson.build
  15. +++ b/meson.build
  16. @@ -1063,7 +1063,7 @@ endif
  17. if not gnutls_crypto.found()
  18. if (not get_option('gcrypt').auto() or have_system) and not get_option('nettle').enabled()
  19. gcrypt = dependency('libgcrypt', version: '>=1.8',
  20. - method: 'config-tool',
  21. + method: 'pkg-config',
  22. required: get_option('gcrypt'),
  23. kwargs: static_kwargs)
  24. # Debian has removed -lgpg-error from libgcrypt-config
  25. --
  26. 2.30.2