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.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/m4/m4.inc') 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, inherit autotools EXTRA_OEMAKE += "'infodir=${infodir}'" - +LDFLAGS_prepend_libc-uclibc = " -lrt " SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz" -- cgit 1.2.3-korg