diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-04-11 23:02:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-01 11:55:42 +0100 |
commit | 68e07a5ff114b5f413a5eeedeb551d82bc77774c (patch) | |
tree | 9db51174d5f55b9db9e29901d17c76ff1246950d /meta/recipes-core | |
parent | d13b1dc1897af733cc2ec22df50ae9d1fd0b48af (diff) | |
download | openembedded-core-68e07a5ff114b5f413a5eeedeb551d82bc77774c.tar.gz openembedded-core-68e07a5ff114b5f413a5eeedeb551d82bc77774c.tar.bz2 openembedded-core-68e07a5ff114b5f413a5eeedeb551d82bc77774c.zip |
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.18.1.1.bb | 6 |
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" LICENSE = "GPLv3+ & LGPL-2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r11" +PR = "r12" DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native" PROVIDES = "virtual/libintl virtual/gettext" @@ -17,6 +17,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \ file://gnulib-uclibc-sched_param-def.patch \ " +LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " SRC_URI[md5sum] = "3dd55b952826d2b32f51308f2f91aa89" SRC_URI[sha256sum] = "93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9" @@ -72,8 +73,7 @@ FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \ FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ ${includedir}/autosprintf.h \ " -FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.a \ - ${libdir}/libintl.so \ +FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.so \ ${includedir}/libintl.h \ " FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ |