From 45fcdc2aeda16be66cf3fd5b68cd544f40a98679 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 23 Jan 2011 19:24:14 -0800 Subject: [PATCH] attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibc Signed-off-by: Khem Raj --- recipes/udev/attr_2.4.44.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/udev/attr_2.4.44.bb b/recipes/udev/attr_2.4.44.bb index d42c5d8dc7..00aafce296 100644 --- a/recipes/udev/attr_2.4.44.bb +++ b/recipes/udev/attr_2.4.44.bb @@ -13,7 +13,8 @@ EXTRA_OECONF = " --enable-gettext=yes \ PLATFORM="linux" \ " -LDFLAGS_append_libc-uclibc += " -lintl" +# Only append ldflags for target recipe +LDFLAGS_libc-uclibc += "${@['', '-lintl']['${PN}' == '${BPN}']}" TOPDIR[unexport] = "1" -- 2.39.5