summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-01-23 19:24:14 -0800
committerKhem Raj <raj.khem@gmail.com>2011-01-23 19:25:46 -0800
commit45fcdc2aeda16be66cf3fd5b68cd544f40a98679 (patch)
tree1dab442f73983889ea355676c9d09303acca0769
parentf4cab5cb50cafb426b50e7a1abf85162f5765889 (diff)
downloadopenembedded-45fcdc2aeda16be66cf3fd5b68cd544f40a98679.tar.gz
attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes/udev/attr_2.4.44.bb3
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 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"