[vlc-devel] [vlc-commits] contrib: libarchive: build without openssl on Windows

Jean-Baptiste Kempf jb at videolan.org
Tue May 15 18:37:24 CEST 2018


Hello,

On Tue, 15 May 2018, at 18:34, Steve Lhomme wrote:
> It may make sense on all platforms.

OpenSSL is not GPL compatible. (Except maybe if the platform provides it).
Therefore, I suggest to always disable openssl.

And activate it, per-case.

> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20dd99a80c6253fc0ce16ad1eeb2e0e97c2e356f
> ---
> 
>  contrib/src/libarchive/rules.mak | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/contrib/src/libarchive/rules.mak b/contrib/src/libarchive/rules.mak
> index 4daae3ea25..3721a0e932 100644
> --- a/contrib/src/libarchive/rules.mak
> +++ b/contrib/src/libarchive/rules.mak
> @@ -14,6 +14,10 @@ LIBARCHIVE_CONF := $(HOSTCONF) \
>  		--without-nettle --without-cng \
>  		--without-xml2 --without-lzma --without-iconv --without-expat
>  
> +ifdef HAVE_WIN32
> +LIBARCHIVE_CONF += --without-openssl
> +endif
> +
>  $(TARBALLS)/libarchive-$(LIBARCHIVE_VERSION).tar.gz:
>  	$(call download_pkg,$(LIBARCHIVE_URL),libarchive)
>  
> 
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits


-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list