From 68e07a5ff114b5f413a5eeedeb551d82bc77774c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 Apr 2012 23:02:53 -0700 Subject: 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 --- meta/recipes-devtools/m4/m4-1.4.16.inc | 2 +- meta/recipes-devtools/m4/m4-1.4.9.inc | 2 +- meta/recipes-devtools/m4/m4.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/m4/m4-1.4.16.inc b/meta/recipes-devtools/m4/m4-1.4.16.inc index 139193c95..1669775c7 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" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d" -PR = "r2" +PR = "r3" SRC_URI += "file://ac_config_links.patch" SRC_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 a5d243c3f..aab2c1efa 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" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe\ file://examples/COPYING;md5=1d49bd61dc590f014cae7173b43e3e5c" -PR = "r1" +PR = "r2" SRC_URI += "file://fix_for_circular_dependency.patch" SRC_URI[md5sum] = "1ba8e147aff5e79bd2bfb983d86b53d5" diff --git a/meta/recipes-devtools/m4/m4.inc b/meta/recipes-devtools/m4/m4.inc index a13031874..ae101c2b6 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, inherit autotools EXTRA_OEMAKE += "'infodir=${infodir}'" - +LDFLAGS_prepend_libc-uclibc = " -lrt " SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz" -- cgit v1.2.3