[vlc-devel] [PATCH] contribs: srt: avoid auto-selection on darwin OS

Alexandre Janniaux ajanni at videolabs.io
Mon Apr 20 16:02:35 CEST 2020


---
 contrib/src/srt/rules.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/srt/rules.mak b/contrib/src/srt/rules.mak
index c9dbb59db8..a5b5bafee1 100644
--- a/contrib/src/srt/rules.mak
+++ b/contrib/src/srt/rules.mak
@@ -4,8 +4,12 @@ SRT_VERSION := 1.3.1
 SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
 
 ifdef BUILD_NETWORK
+# GnuTLS is not built on iOS (nettle has incompatible license) and MacOSX
+# so avoid requiring it.
+ifndef HAVE_DARWIN_OS
 PKGS += srt
 endif
+endif
 
 ifeq ($(call need_pkg,"srt >= 1.3.1"),)
 PKGS_FOUND += srt
-- 
2.26.1



More information about the vlc-devel mailing list