Commit 01eb5773 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

WinRT: don't compile DShow, Screen, BDA

They depend on GDI or DShow
parent 06cb362f
......@@ -183,8 +183,10 @@ libdshow_plugin_la_SOURCES = access/dshow/vlc_dshow.h access/dshow/dshow.cpp acc
access/dshow/filter.cpp access/dshow/filter.h access/dshow/crossbar.cpp
libdshow_plugin_la_LIBADD = -lole32 -loleaut32 -luuid -lstrmiids -lksuser
if HAVE_WIN32
if !HAVE_WINSTORE
access_LTLIBRARIES += libdshow_plugin.la
endif
endif
### Screen grab ###
......@@ -215,10 +217,12 @@ endif
libscreen_plugin_la_SOURCES = access/screen/screen.c access/screen/screen.h
libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
if HAVE_WIN32
if !HAVE_WINSTORE
libscreen_plugin_la_SOURCES += access/screen/win32.c
libscreen_plugin_la_LIBADD = -lgdi32
access_LTLIBRARIES += libscreen_plugin.la
endif
endif
if HAVE_MAC_SCREEN
libscreen_plugin_la_SOURCES += access/screen/mac.c
libscreen_plugin_la_LDFLAGS += "-Wl,-framework,OpenGL,-framework,ApplicationServices"
......@@ -329,6 +333,7 @@ access_LTLIBRARIES += libdtv_plugin.la
endif
if HAVE_WIN32
if !HAVE_WINSTORE
# Work-around automake bug:
# Use an import library for C++ to retain C linker on other platforms.
libbda_la_SOURCES = access/dtv/bdadefs.h access/dtv/bdagraph.cpp access/dtv/bdagraph.hpp
......@@ -340,6 +345,7 @@ libdtv_plugin_la_DEPENDENCIES = libbda.la
libdtv_plugin_la_LIBADD = libbda.la -lstdc++
access_LTLIBRARIES += libdtv_plugin.la
endif
endif
# Old Linux DVB scanner
libdvb_plugin_la_SOURCES = \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment