[oe-commits] =?UTF-8?Q?Andreas=20M=C3=BCller=20?=: gettext-native: build libintl so that other native recipes can use them
git at git.openembedded.org
git at git.openembedded.org
Thu Dec 25 08:18:48 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: e2415fd465782381cb2224670cacf4e56598a3c5
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e2415fd465782381cb2224670cacf4e56598a3c5
Author: Andreas Müller <schnitzeltony at googlemail.com>
Date: Wed Dec 3 13:40:55 2014 +0100
gettext-native: build libintl so that other native recipes can use them
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 at googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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'
More information about the Openembedded-commits
mailing list