[vlc-devel] [PATCH 15/22] wasapi: winstore apps don't have ksuser.lib

Rémi Denis-Courmont remi at remlab.net
Mon Aug 3 14:51:59 CEST 2015


Le 2015-07-31 17:54, Steve Lhomme a écrit :
> ---
>  modules/audio_output/Makefile.am | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/modules/audio_output/Makefile.am
> b/modules/audio_output/Makefile.am
> index 5f0495c..090a5bd 100644
> --- a/modules/audio_output/Makefile.am
> +++ b/modules/audio_output/Makefile.am
> @@ -62,7 +62,10 @@ libmmdevice_plugin_la_LIBADD = -lole32 $(LIBM)
>  libwinstore_plugin_la_SOURCES = audio_output/winstore.c
> audio_output/mmdevice.h
>  libwinstore_plugin_la_LIBADD = -lole32
>  libwasapi_plugin_la_SOURCES = audio_output/wasapi.c
> -libwasapi_plugin_la_LIBADD = -lole32 -lksuser
> +libwasapi_plugin_la_LIBADD = -lole32
> +if !HAVE_WINSTORE
> +libwasapi_plugin_la_LIBADD += -lksuser
> +endif
>  if HAVE_WASAPI
>  aout_LTLIBRARIES += libwasapi_plugin.la
>  if !HAVE_WINSTORE

Is that really so? or is it that MSVC does not have ksuser at all?

Breaking (potential) MingW support in favor of a proprietary compiler 
does not seem like a good idea.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list