[vlc-devel] [PATCH] contrib: gcrypt: avoid building if already available
Alexandre Janniaux
ajanni at videolabs.io
Thu Jan 9 11:13:54 CET 2020
---
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)
--
2.24.1
More information about the vlc-devel
mailing list