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