[vlc-commits] contrib: gcrypt: avoid building if already available

Alexandre Janniaux git at videolan.org
Sat Feb 15 13:11:13 CET 2020


vlc/vlc-3.0 | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jan  9 00:47:47 2020 +0100| [4dfa17f01d291e7449baa4fe7ded799cb42d59a5] | committer: Jean-Baptiste Kempf

contrib: gcrypt: avoid building if already available

Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 178ee3c0444580fe2a04e1be0e6312986d2fc942)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4dfa17f01d291e7449baa4fe7ded799cb42d59a5
---

 contrib/src/gcrypt/rules.mak | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
index ecc95be7c9..9410f28d4c 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -3,6 +3,9 @@ GCRYPT_VERSION := 1.7.10
 GCRYPT_URL := http://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-$(GCRYPT_VERSION).tar.bz2
 
 PKGS += gcrypt
+ifeq ($(call need_pkg,"libgcrypt"),)
+PKGS_FOUND += gcrypt
+endif
 
 $(TARBALLS)/libgcrypt-$(GCRYPT_VERSION).tar.bz2:
 	$(call download_pkg,$(GCRYPT_URL),gcrypt)



More information about the vlc-commits mailing list