From: "Andreas Müller" <schnitzeltony@googlemail.com>
To: openembedded-core@lists.openembedded.org, raj.khem@gmail.com
Subject: [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them
Date: Wed, 3 Dec 2014 13:40:55 +0100 [thread overview]
Message-ID: <1417610456-788-2-git-send-email-schnitzeltony@googlemail.com> (raw)
In-Reply-To: <1417610456-788-1-git-send-email-schnitzeltony@googlemail.com>
I have a native recipe around which directly compiles/links against libintl.
Gettext contains this code (usually supplied by glibc) as fallback. In native
case this code is used by default because we don't have glibc there. This patch
changes static linking into dynamic linking making libintl code shareable.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
meta/recipes-core/gettext/gettext_0.18.3.2.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-core/gettext/gettext_0.18.3.2.bb b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
index 65d4103..98838d7 100644
--- a/meta/recipes-core/gettext/gettext_0.18.3.2.bb
+++ b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
@@ -39,6 +39,9 @@ EXTRA_OECONF += "--without-lispdir \
--with-included-libunistring \
"
+# we have no glib intl
+EXTRA_OECONF_append_class-native = "--with-included-gettext --enable-shared"
+
acpaths = '-I ${S}/gettext-runtime/m4 \
-I ${S}/gettext-tools/m4'
--
1.8.3.1
next prev parent reply other threads:[~2014-12-03 12:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 12:40 [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
2014-12-03 12:40 ` Andreas Müller [this message]
2014-12-15 10:30 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
2014-12-24 18:58 ` Saul Wold
2014-12-03 12:40 ` [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot Andreas Müller
2014-12-15 10:31 ` Andreas Müller
2014-12-15 9:12 ` [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
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=1417610456-788-2-git-send-email-schnitzeltony@googlemail.com \
--to=schnitzeltony@googlemail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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