[vlc-devel] [PATCH v2 3/3] contrib: srt: Enabled for Win32

Thomas Guillem thomas at gllm.fr
Wed Mar 7 18:05:32 CET 2018


The build is still failing on win64 with mingw.

See contrib make output: https://gist.github.com/tguillem/6fae5351cd4765e061b4179b0f0712be
and CMakeOutput.log: https://gist.github.com/tguillem/85bfc1a69dff15ffde40da8dfb50fad0

pthreads is build/installed in contribs.

On Tue, Mar 6, 2018, at 04:55, Justin Kim wrote:
> 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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list