Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v9 6/7] e2fsprogs: only add -lintl for static builds
Date: Sun, 23 Apr 2017 00:49:18 +0200	[thread overview]
Message-ID: <20170422224919.3257-7-arnout@mind.be> (raw)
In-Reply-To: <20170422224919.3257-1-arnout@mind.be>

From: Carlos Santos <casantos@datacom.ind.br>

For dynamic library builds, it's not needed to pass it explicitly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v9: remove addition of empty lines
---
 package/e2fsprogs/e2fsprogs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index a60c69b395..70a1e4eab5 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -77,7 +77,7 @@ HOST_E2FSPROGS_CONF_ENV += \
 	ac_cv_header_magic_h=no \
 	ac_cv_lib_magic_magic_file=no
 
-ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE)$(BR2_STATIC_LIBS),yy)
 # util-linux libuuid pulls in libintl if needed, so ensure we also
 # link against it, otherwise static linking fails
 E2FSPROGS_CONF_ENV += LIBS=-lintl
-- 
2.11.0

  parent reply	other threads:[~2017-04-22 22:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-22 22:49 [Buildroot] [PATCH v9 0/7] e2fsprogs: refactor to fix conflicts with busybox and util-linux Arnout Vandecappelle
2017-04-22 22:49 ` [Buildroot] [PATCH v9 1/7] " Arnout Vandecappelle
2017-04-22 22:49 ` [Buildroot] [PATCH v9 2/7] e2fsprogs: add help text for all config options Arnout Vandecappelle
2017-04-22 22:49 ` [Buildroot] [PATCH v9 3/7] e2fsprogs: disable unneeded features for host Arnout Vandecappelle
2017-04-22 22:49 ` [Buildroot] [PATCH v9 4/7] e2fsprogs: add explicit --enable/--disable configure options Arnout Vandecappelle
2017-04-22 22:49 ` [Buildroot] [PATCH v9 5/7] e2fsprogs: avoid conflict with util-linux fsck wrapper Arnout Vandecappelle
2017-04-22 22:49 ` Arnout Vandecappelle [this message]
2017-04-22 22:49 ` [Buildroot] [PATCH v9 7/7] e2fsprogs: add empty lines to .mk file Arnout Vandecappelle
2017-05-04 20:37 ` [Buildroot] [PATCH v9 0/7] e2fsprogs: refactor to fix conflicts with busybox and util-linux Thomas Petazzoni

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=20170422224919.3257-7-arnout@mind.be \
    --to=arnout@mind.be \
    --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