[oe-commits] Khem Raj : attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibc
git version control
git at git.openembedded.org
Mon Jan 24 03:26:10 UTC 2011
Module: openembedded.git
Branch: master
Commit: 45fcdc2aeda16be66cf3fd5b68cd544f40a98679
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=45fcdc2aeda16be66cf3fd5b68cd544f40a98679
Author: Khem Raj <raj.khem at gmail.com>
Date: Sun Jan 23 19:24:14 2011 -0800
attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibc
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/udev/attr_2.4.44.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/udev/attr_2.4.44.bb b/recipes/udev/attr_2.4.44.bb
index d42c5d8..00aafce 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"
More information about the Openembedded-commits
mailing list