diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 9ae7ca4e0c..541dd4f75c 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -123,7 +123,7 @@ MPLAYER_CONF_OPTS += --disable-libcdio # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) MPLAYER_CONF_OPTS += \ - --with-dvdread-config=$(STAGING_DIR)/usr/bin/dvdread-config + --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread" MPLAYER_DEPENDENCIES += libdvdread endif @@ -131,7 +131,7 @@ endif # find which library to link with. ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) MPLAYER_CONF_OPTS += \ - --with-dvdnav-config=$(STAGING_DIR)/usr/bin/dvdnav-config + --with-dvdnav-config="$(PKG_CONFIG_HOST_BINARY) dvdnav" MPLAYER_DEPENDENCIES += libdvdnav endif