Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] exempi: fix libiconv dependency
Date: Wed, 16 Jan 2019 22:46:18 +0100	[thread overview]
Message-ID: <20190116214618.7467-1-fontaine.fabrice@gmail.com> (raw)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/exempi/Config.in | 1 +
 package/exempi/exempi.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/exempi/Config.in b/package/exempi/Config.in
index ed71e0fb12..c9af219a20 100644
--- a/package/exempi/Config.in
+++ b/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
diff --git a/package/exempi/exempi.mk b/package/exempi/exempi.mk
index e7b297ffe1..600ac3a1f2 100644
--- a/package/exempi/exempi.mk
+++ b/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
 
-- 
2.14.1

             reply	other threads:[~2019-01-16 21:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16 21:46 Fabrice Fontaine [this message]
2019-01-20 20:54 ` [Buildroot] [PATCH 1/1] exempi: fix libiconv dependency Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190116214618.7467-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox