summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta/recipes-core/gettext/gettext_0.18.1.1.bb6
-rw-r--r--meta/recipes-devtools/m4/m4-1.4.16.inc2
-rw-r--r--meta/recipes-devtools/m4/m4-1.4.9.inc2
-rw-r--r--meta/recipes-devtools/m4/m4.inc2
4 files changed, 6 insertions, 6 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.* \
diff --git a/meta/recipes-devtools/m4/m4-1.4.16.inc b/meta/recipes-devtools/m4/m4-1.4.16.inc
index 139193c958..1669775c74 100644
--- a/meta/recipes-devtools/m4/m4-1.4.16.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.16.inc
@@ -5,7 +5,7 @@ LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ 5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
6 file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d" 6 file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
7 7
8PR = "r2" 8PR = "r3"
9SRC_URI += "file://ac_config_links.patch" 9SRC_URI += "file://ac_config_links.patch"
10 10
11SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280" 11SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
diff --git a/meta/recipes-devtools/m4/m4-1.4.9.inc b/meta/recipes-devtools/m4/m4-1.4.9.inc
index a5d243c3fb..aab2c1efa2 100644
--- a/meta/recipes-devtools/m4/m4-1.4.9.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.9.inc
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe\ 5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe\
6 file://examples/COPYING;md5=1d49bd61dc590f014cae7173b43e3e5c" 6 file://examples/COPYING;md5=1d49bd61dc590f014cae7173b43e3e5c"
7 7
8PR = "r1" 8PR = "r2"
9SRC_URI += "file://fix_for_circular_dependency.patch" 9SRC_URI += "file://fix_for_circular_dependency.patch"
10 10
11SRC_URI[md5sum] = "1ba8e147aff5e79bd2bfb983d86b53d5" 11SRC_URI[md5sum] = "1ba8e147aff5e79bd2bfb983d86b53d5"
diff --git a/meta/recipes-devtools/m4/m4.inc b/meta/recipes-devtools/m4/m4.inc
index a130318744..ae101c2b6d 100644
--- a/meta/recipes-devtools/m4/m4.inc
+++ b/meta/recipes-devtools/m4/m4.inc
@@ -6,5 +6,5 @@ GNU M4 also has built-in functions for including files, running shell commands,
6inherit autotools 6inherit autotools
7 7
8EXTRA_OEMAKE += "'infodir=${infodir}'" 8EXTRA_OEMAKE += "'infodir=${infodir}'"
9 9LDFLAGS_prepend_libc-uclibc = " -lrt "
10SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz" 10SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz"