[vlc-commits] DTV: enable compilation on Linux

Rémi Denis-Courmont git at videolan.org
Thu Mar 24 19:20:30 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 24 16:17:00 2011 +0200| [a19fe3ccb09670c81c2f8238534316ea4228c2f2] | committer: Rémi Denis-Courmont

DTV: enable compilation on Linux

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a19fe3ccb09670c81c2f8238534316ea4228c2f2
---

 modules/access/Modules.am |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/access/Modules.am b/modules/access/Modules.am
index 4b67b6b..8daeef1 100644
--- a/modules/access/Modules.am
+++ b/modules/access/Modules.am
@@ -116,15 +116,18 @@ if HAVE_XCB
 libvlc_LTLIBRARIES += libxcb_screen_plugin.la
 endif
 
+# Digital TV
 libdtv_plugin_la_SOURCES = \
 	dtv/dtv.h \
-	dtv/linux.c \
 	dtv/access.c
 libdtv_plugin_la_CFLAGS = $(AM_CFLAGS)
 libdtv_plugin_la_LIBADD = $(AM_LIBADD)
 libdtv_plugin_la_DEPENDENCIES =
+if HAVE_LINUX
+libdtv_plugin_la_SOURCES += dtv/linux.c
+libvlc_LTLIBRARIES += libdtv_plugin.la
+endif
 
 EXTRA_LTLIBRARIES += \
 	libaccess_rtmp_plugin.la \
-	libdtv_plugin.la \
 	libaccess_shm_plugin.la



More information about the vlc-commits mailing list