summaryrefslogtreecommitdiff
path: root/src/video_dec/libmpeg2new/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_dec/libmpeg2new/Makefile.am')
-rw-r--r--src/video_dec/libmpeg2new/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_dec/libmpeg2new/Makefile.am b/src/video_dec/libmpeg2new/Makefile.am
index f79b8aba9..3f704bad6 100644
--- a/src/video_dec/libmpeg2new/Makefile.am
+++ b/src/video_dec/libmpeg2new/Makefile.am
@@ -6,7 +6,11 @@ AM_LDFLAGS = $(xineplug_ldflags)
SUBDIRS = include libmpeg2
-xineplug_LTLIBRARIES = xineplug_decode_mpeg2new.la
+if ENABLE_MPEG2NEW
+mpeg2new_module = xineplug_decode_mpeg2new.la
+endif
+
+xineplug_LTLIBRARIES = $(mpeg2new_module)
xineplug_decode_mpeg2new_la_SOURCES = \
xine_mpeg2new_decoder.c