diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-07-15 23:22:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:25:00 +0100 |
commit | 7be58f695aaa8b111fcf79a3505964e9f49b108a (patch) | |
tree | 30b290a7d588170fb5a10f54ea0d718f0ea47672 /meta/classes/gettext.bbclass | |
parent | f7de0a4f02cfd021176759fc4ea7ebbc88da8ff8 (diff) | |
download | openembedded-core-7be58f695aaa8b111fcf79a3505964e9f49b108a.tar.gz openembedded-core-7be58f695aaa8b111fcf79a3505964e9f49b108a.tar.bz2 openembedded-core-7be58f695aaa8b111fcf79a3505964e9f49b108a.zip |
classes/gettext: Do not disable nls for non target recipes
nls disabling is target specific but USE_NLS=no will
disable nls even for other kind of recipes. We should
let them build with nls
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/classes/gettext.bbclass')
-rw-r--r-- | meta/classes/gettext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 86b505b3d4..d5b3d701e9 100644 --- a/meta/classes/gettext.bbclass +++ b/meta/classes/gettext.bbclass @@ -7,7 +7,7 @@ def gettext_dependencies(d): def gettext_oeconf(d): # Remove the NLS bits if USE_NLS is no. - if d.getVar('USE_NLS', True) == 'no': + if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross', 'cross-canadian'): return '--disable-nls' return "--enable-nls" |