exempi: fix libiconv dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 16 Jan 2019 21:46:18 +0000 (22:46 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 20 Jan 2019 20:54:22 +0000 (21:54 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/a77a891683ae9a135dc31be1b419061922d0e1ba

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/exempi/Config.in
package/exempi/exempi.mk

index ed71e0fb12657982713931790c37c64115844b6c..c9af219a200526db1a1c19d83145ed87c47f503b 100644 (file)
@@ -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
index e7b297ffe10db965064db1ec58397abd66d2468b..91b1d5da1f3077c558deef7cafc871bf42e3556c 100644 (file)
@@ -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