mplayer: use autodetection for dvdnav

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2015-11-19 10:06:11 +00:00 committed by Thomas Petazzoni
parent f841880be1
commit 25f1a0d16a

View file

@ -125,9 +125,10 @@ MPLAYER_CONF_OPTS += \
MPLAYER_DEPENDENCIES += libdvdread
endif
# We intentionally don't pass --enable-dvdnav to let the autodetection
# find which library to link with.
ifeq ($(BR2_PACKAGE_LIBDVDNAV),y)
MPLAYER_CONF_OPTS += \
--enable-dvdnav \
--with-dvdnav-config=$(STAGING_DIR)/usr/bin/dvdnav-config
MPLAYER_DEPENDENCIES += libdvdnav
endif