From: Bernd Kuhls Date: Sun, 29 Mar 2015 17:11:30 +0000 (+0200) Subject: package/mplayer: add optional libiconv support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5575b651199994a1adc8a91e681f4ded0eb2d31c;p=buildroot.git package/mplayer: add optional libiconv support Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 5e295515f4..2ddc0fc370 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -68,6 +68,14 @@ else MPLAYER_CONF_OPTS += --disable-fribidi endif +# We intentionally don't pass --enable-libiconv, to let the +# autodetection find which library to link with. +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MPLAYER_DEPENDENCIES += libiconv +else +MPLAYER_CONF_OPTS += --disable-iconv +endif + # We intentionally don't pass --enable-termcap, in order to let the # autodetection find with which library to link with. Otherwise, we # would have to pass it manually.