Explorar o código

libv4l: needs iconv

Fixes:
 http://autobuild.buildroot.net/results/901/901ed0092ee0411ba77a6f1f46d161621569c7f7/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Seiderer %!s(int64=10) %!d(string=hai) anos
pai
achega
a33ae93ab6
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 1 0
      package/libv4l/Config.in
  2. 2 0
      package/libv4l/libv4l.mk

+ 1 - 0
package/libv4l/Config.in

@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBV4L
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
 	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
 	help
 	  libv4l is a collection of libraries which adds a thin abstraction
 	  libv4l is a collection of libraries which adds a thin abstraction
 	  layer on top of video4linux2 devices. libv4l consists of 3 different
 	  layer on top of video4linux2 devices. libv4l consists of 3 different

+ 2 - 0
package/libv4l/libv4l.mk

@@ -20,6 +20,8 @@ LIBV4L_DEPENDENCIES += argp-standalone
 LIBV4L_CONF_ENV += LIBS="-largp"
 LIBV4L_CONF_ENV += LIBS="-largp"
 endif
 endif
 
 
+LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+
 ifeq ($(BR2_PACKAGE_JPEG),y)
 ifeq ($(BR2_PACKAGE_JPEG),y)
 LIBV4L_DEPENDENCIES += jpeg
 LIBV4L_DEPENDENCIES += jpeg
 LIBV4L_CONF_OPTS += --with-jpeg
 LIBV4L_CONF_OPTS += --with-jpeg