summaryrefslogtreecommitdiffstats
path: root/package/mplayer/mplayer.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mplayer/mplayer.mk')
-rw-r--r--package/mplayer/mplayer.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index 99fc469f6a..ad2d9dd613 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -117,9 +117,10 @@ endif
# https://github.com/pld-linux/mplayer/blob/master/mplayer-libcdio.patch
MPLAYER_CONF_OPTS += --disable-libcdio
+# We intentionally don't pass --enable-dvdread, to let the
+# autodetection find which library to link with.
ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
MPLAYER_CONF_OPTS += \
- --enable-dvdread \
--with-dvdread-config=$(STAGING_DIR)/usr/bin/dvdread-config
MPLAYER_DEPENDENCIES += libdvdread
endif
@@ -175,9 +176,10 @@ MPLAYER_DEPENDENCIES += tremor
MPLAYER_CONF_OPTS += --enable-tremor
endif
+# We intentionally don't pass --enable-libvorbis, to let the
+# autodetection find which library to link with.
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
MPLAYER_DEPENDENCIES += libvorbis
-MPLAYER_CONF_OPTS += --enable-libvorbis
endif
ifeq ($(BR2_PACKAGE_LIBMAD),y)
OpenPOWER on IntegriCloud