diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/libc-package.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 6b1e84ef7e..82d642e15e 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -39,9 +39,7 @@ python __anonymous () { | |||
39 | break | 39 | break |
40 | 40 | ||
41 | # try to fix disable charsets/locales/locale-code compile fail | 41 | # try to fix disable charsets/locales/locale-code compile fail |
42 | if bb.utils.contains('DISTRO_FEATURES', 'libc-charsets', True, False, d) and \ | 42 | if bb.utils.contains('DISTRO_FEATURES', 'libc-charsets libc-locales libc-locale-code', True, False, d): |
43 | bb.utils.contains('DISTRO_FEATURES', 'libc-locales', True, False, d) and \ | ||
44 | bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', True, False, d): | ||
45 | d.setVar('PACKAGE_NO_GCONV', '0') | 43 | d.setVar('PACKAGE_NO_GCONV', '0') |
46 | else: | 44 | else: |
47 | d.setVar('PACKAGE_NO_GCONV', '1') | 45 | d.setVar('PACKAGE_NO_GCONV', '1') |