[vlc-devel] [PATCH 15/22] wasapi: winstore apps don't have ksuser.lib
Steve Lhomme
robux4 at gmail.com
Fri Jul 31 16:54:59 CEST 2015
---
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
--
2.4.2
More information about the vlc-devel
mailing list