Răsfoiți Sursa

exempi: fix libiconv dependency

Fixes:
 - http://autobuild.buildroot.org/results/a77a891683ae9a135dc31be1b419061922d0e1ba

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 6 ani în urmă
părinte
comite
ca73191cf2
2 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 1 0
      package/exempi/Config.in
  2. 2 1
      package/exempi/exempi.mk

+ 1 - 0
package/exempi/Config.in

@@ -4,6 +4,7 @@ config BR2_PACKAGE_EXEMPI
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_ZLIB
 	help
 	  Exempi is an implementation of XMP (Extensible Metadata

+ 2 - 1
package/exempi/exempi.mk

@@ -9,7 +9,8 @@ EXEMPI_SOURCE = exempi-$(EXEMPI_VERSION).tar.bz2
 EXEMPI_SITE = https://libopenraw.freedesktop.org/download
 EXEMPI_INSTALL_STAGING = YES
 EXEMPI_CONF_OPTS = --disable-unittest
-EXEMPI_DEPENDENCIES = host-pkgconf expat zlib
+EXEMPI_DEPENDENCIES = host-pkgconf expat zlib \
+	$(if $(BR2_PACKAGE_LIBICONV),libiconv)
 EXEMPI_LICENSE = BSD-3-Clause
 EXEMPI_LICENSE_FILES = COPYING