[vlc-devel] [PATCH] configure: only add bcrypt to the core

Jean-Baptiste Kempf jb at videolan.org
Wed Apr 8 16:35:54 CEST 2020


IMHO, you should add Bcrypt in all cases, and not just winstore.

On Wed, Apr 8, 2020, at 16:00, Steve Lhomme wrote:
> If a module needs it, it should add it by itself.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 14b3e6e8dc5..4fd1240d09b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1252,7 +1252,7 @@ AS_IF([test "${enable_ssp}" != "no" -a 
> "${enable_optimizations}" != "no"], [
>  AS_IF([test "${SYS}" = "mingw32"], [
>      dnl library for BCrypt APIs
>      AS_IF([test "${vlc_winstore_app}" = 1],
> -          [LDFLAGS="${LDFLAGS} -lbcrypt"])
> +          VLC_ADD_LIBS([libvlccore], [-lbcrypt]))
>  ])
>  
>  VLC_SAVE_FLAGS
> -- 
> 2.17.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

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


More information about the vlc-devel mailing list