mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/4] host-gettext: Add host-iconv dependency
Date: Mon,  7 May 2012 22:03:32 +0200	[thread overview]
Message-ID: <1336421015-1614-2-git-send-email-bernhard@bwalle.de> (raw)
In-Reply-To: <1336421015-1614-1-git-send-email-bernhard@bwalle.de>

host-iconv is needed when using msgfmt. While gettext builds fine
without it, on Mac OS I get following error when compiling glib:

------------------------------------- 8< ---------------------------
.../platform-versatilepb/sysroot-host/bin/msgfmt -o test.mo ./de.po; \
        /Volumes/Daten/devel/ptxdist/bin/mkdir -p de/LC_MESSAGES; \
        cp -f test.mo de/LC_MESSAGES
dyld: lazy symbol binding failed: Symbol not found: _iconv_open
------------------------------------- >8 ---------------------------

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 platforms/hosttools.in |    1 +
 rules/host-gettext.in  |    1 +
 2 Dateien geändert, 2 Zeilen hinzugefügt(+)

diff --git a/platforms/hosttools.in b/platforms/hosttools.in
index 10d05e8..317237d 100644
--- a/platforms/hosttools.in
+++ b/platforms/hosttools.in
@@ -7,6 +7,7 @@ source "rules/host-dosfstools.in"
 source "rules/host-e2fsprogs.in"
 source "rules/host-genext2fs.in"
 source "rules/host-genpart.in"
+source "rules/host-libiconv.in"
 source "rules/host-gettext.in"
 source "rules/host-libblkid.in"
 source "rules/host-libbz2.in"
diff --git a/rules/host-gettext.in b/rules/host-gettext.in
index ab899ab..dad5c28 100644
--- a/rules/host-gettext.in
+++ b/rules/host-gettext.in
@@ -3,6 +3,7 @@
 config HOST_GETTEXT
 	tristate
 	default ALLYES
+	select HOST_LIBICONV
 	help
 	  The gettext program translates a natural language
 	  message into the user's language, by looking up
-- 
1.7.10.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-05-07 20:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 20:03 [ptxdist] Some more Mac OS fixes Bernhard Walle
2012-05-07 20:03 ` Bernhard Walle [this message]
2012-05-07 20:03 ` [ptxdist] [PATCH 2/4] rules/pre/Rules.make: Add DYLD_FALLBACK_LIBRARY_PATH for Darwin Bernhard Walle
2012-05-07 20:03 ` [ptxdist] [PATCH 3/4] host-glib: Add host-gettext dependency Bernhard Walle
2012-05-30  7:19   ` Michael Olbrich
2012-06-10  9:30     ` [ptxdist] [PATCH 1/3] host-gettext: Fix build on Darwin Bernhard Walle
2012-06-10  9:30       ` [ptxdist] [PATCH 2/3] Add host-gettext-dummy package Bernhard Walle
2012-06-10  9:30       ` [ptxdist] [PATCH 3/3] host-glib: Add host-gettext dependency Bernhard Walle
2012-06-13 22:50         ` Michael Olbrich
2012-06-13 22:50       ` [ptxdist] [PATCH 1/3] host-gettext: Fix build on Darwin Michael Olbrich
2012-05-07 20:03 ` [ptxdist] [PATCH 4/4] " Bernhard Walle

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=1336421015-1614-2-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /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