From: Khem Raj Date: Mon, 24 Jan 2011 03:24:14 +0000 (-0800) Subject: attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibc X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45fcdc2aeda16be66cf3fd5b68cd544f40a98679;p=openembedded.git attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibc Signed-off-by: Khem Raj --- 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"