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

Alexandre Janniaux git at videolan.org
Wed Jan 22 10:08:39 CET 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jan  9 00:47:47 2020 +0100| [178ee3c0444580fe2a04e1be0e6312986d2fc942] | committer: Thomas Guillem

contrib: gcrypt: avoid building if already available

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=178ee3c0444580fe2a04e1be0e6312986d2fc942
---

 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 21ee7edfd7..0e57d1f8eb 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