Procházet zdrojové kódy

package/mplayer: add optional libiconv support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls před 10 roky
rodič
revize
5575b65119
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      package/mplayer/mplayer.mk

+ 8 - 0
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.