[vlc-devel] [PATCH v2 3/3] contrib: srt: Enabled for Win32
Justin Kim
justin.kim at collabora.com
Tue Mar 6 04:55:10 CET 2018
Signed-off-by: Justin Kim <justin.kim at collabora.com>
---
contrib/src/srt/rules.mak | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/contrib/src/srt/rules.mak b/contrib/src/srt/rules.mak
index 3ffdfb4d55..c90db845f7 100644
--- a/contrib/src/srt/rules.mak
+++ b/contrib/src/srt/rules.mak
@@ -3,11 +3,10 @@
SRT_VERSION := 1.2.2
SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
-ifndef HAVE_WIN32
ifdef BUILD_NETWORK
PKGS += srt
endif
-endif
+
ifeq ($(call need_pkg,"srt >= 1.2.2"),)
PKGS_FOUND += srt
endif
@@ -16,6 +15,10 @@ ifdef HAVE_DARWIN_OS
SRT_DARWIN=CFLAGS="$(CFLAGS) -Wno-error=partial-availability" CXXFLAGS="$(CXXFLAGS) -Wno-error=partial-availability"
endif
+ifdef HAVE_WIN32
+DEPS_srt += pthreads $(DEPS_pthreads)
+endif
+
$(TARBALLS)/srt-$(SRT_VERSION).tar.gz:
$(call download_pkg,$(SRT_URL),srt)
--
2.16.2
More information about the vlc-devel
mailing list