summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr/ea-acl.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-15 18:48:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-20 15:27:37 +0100
commitcaf22e3ba2c33358992da0015841ef3fdbce7312 (patch)
tree7d2fd6287e306bf2f4e323d29d50e5c9101a2270 /meta/recipes-support/attr/ea-acl.inc
parent0de9f32aeeee7e30bcc1614010f300bead1dace4 (diff)
downloadpoky-caf22e3ba2c33358992da0015841ef3fdbce7312.tar.gz
acl,attr: Fix build failures when NLS is disabled on uclibc
Disable gettext support when NLS is not enabled (From OE-Core rev: f7de0a4f02cfd021176759fc4ea7ebbc88da8ff8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr/ea-acl.inc')
-rw-r--r--meta/recipes-support/attr/ea-acl.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index afe2f1c544..9af5960bae 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -32,3 +32,6 @@ FILES_lib${PN}-doc = "${mandir}/man2 \
32 ${mandir}/man3" 32 ${mandir}/man3"
33 33
34BBCLASSEXTEND = "native" 34BBCLASSEXTEND = "native"
35# Only append ldflags for target recipe and if USE_NLS is enabled
36LDFLAGS_append_libc-uclibc = "${@['', ' -lintl '][(bb.data.getVar('PN', d, True) == bb.data.getVar('BPN', d , True)) and (bb.data.getVar('USE_NLS', d, True) == 'yes')]}"
37EXTRA_OECONF_append_libc-uclibc = "${@['', ' --disable-gettext '][(bb.data.getVar('PN', d, True) == bb.data.getVar('BPN', d , True)) and (bb.data.getVar('USE_NLS', d, True) == 'no')]}"