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 <[email protected]>
---
 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
[email protected]

Reply via email to