diff options
Diffstat (limited to 'meta/classes/gettext.bbclass')
-rw-r--r-- | meta/classes/gettext.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index d5b3d701e9..1793748af2 100644 --- a/meta/classes/gettext.bbclass +++ b/meta/classes/gettext.bbclass | |||
@@ -3,9 +3,13 @@ def gettext_dependencies(d): | |||
3 | return "" | 3 | return "" |
4 | if d.getVar('INHIBIT_DEFAULT_DEPS', True) and not oe.utils.inherits(d, 'cross-canadian'): | 4 | if d.getVar('INHIBIT_DEFAULT_DEPS', True) and not oe.utils.inherits(d, 'cross-canadian'): |
5 | return "" | 5 | return "" |
6 | if oe.utils.inherits(d, 'native'): | ||
7 | return "gettext-minimal-native" | ||
6 | return d.getVar('DEPENDS_GETTEXT', False) | 8 | return d.getVar('DEPENDS_GETTEXT', False) |
7 | 9 | ||
8 | def gettext_oeconf(d): | 10 | def gettext_oeconf(d): |
11 | if oe.utils.inherits(d, 'native'): | ||
12 | return '--disable-nls' | ||
9 | # Remove the NLS bits if USE_NLS is no. | 13 | # Remove the NLS bits if USE_NLS is no. |
10 | if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross', 'cross-canadian'): | 14 | if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross', 'cross-canadian'): |
11 | return '--disable-nls' | 15 | return '--disable-nls' |