summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-11 23:02:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-01 12:38:07 +0100
commit1797037e76f3bb17fb037219e5df1ee880807098 (patch)
tree439cead191ea51c3e0ffcafd2c5b0da573b39b9e /meta/recipes-core/gettext
parentd1dfd24324b464ccc193996eee3f1c20564d9e89 (diff)
downloadpoky-1797037e76f3bb17fb037219e5df1ee880807098.tar.gz
gettext,m4: Add -lrt to LDFLAGS for uclibc
uclibc has recently got posix_spawn implementation and the implementation resided in librt so we link -lrt to get the configure tests using uclibc provided definitions and not the gnu-lib wrappers Let libintl.a live in -staticdev package (From OE-Core rev: 68e07a5ff114b5f413a5eeedeb551d82bc77774c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext')
-rw-r--r--meta/recipes-core/gettext/gettext_0.18.1.1.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.18.1.1.bb b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
index 46647512fa..5685bbeb75 100644
--- a/meta/recipes-core/gettext/gettext_0.18.1.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
5LICENSE = "GPLv3+ & LGPL-2.1+" 5LICENSE = "GPLv3+ & LGPL-2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7 7
8PR = "r11" 8PR = "r12"
9DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" 9DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
10DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native" 10DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"
11PROVIDES = "virtual/libintl virtual/gettext" 11PROVIDES = "virtual/libintl virtual/gettext"
@@ -17,6 +17,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
17SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \ 17SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \
18 file://gnulib-uclibc-sched_param-def.patch \ 18 file://gnulib-uclibc-sched_param-def.patch \
19 " 19 "
20LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread "
20 21
21SRC_URI[md5sum] = "3dd55b952826d2b32f51308f2f91aa89" 22SRC_URI[md5sum] = "3dd55b952826d2b32f51308f2f91aa89"
22SRC_URI[sha256sum] = "93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9" 23SRC_URI[sha256sum] = "93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9"
@@ -72,8 +73,7 @@ FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \
72FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ 73FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \
73 ${includedir}/autosprintf.h \ 74 ${includedir}/autosprintf.h \
74 " 75 "
75FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.a \ 76FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.so \
76 ${libdir}/libintl.so \
77 ${includedir}/libintl.h \ 77 ${includedir}/libintl.h \
78 " 78 "
79FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ 79FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \