diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
| -rw-r--r-- | meta/classes/insane.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index d56c9edcc2..5fb0d98baf 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
| @@ -571,12 +571,13 @@ Rerun configure task after fixing this. The path was '%s'""" % root) | |||
| 571 | 571 | ||
| 572 | cnf = bb.data.getVar('EXTRA_OECONF', d, True) or "" | 572 | cnf = bb.data.getVar('EXTRA_OECONF', d, True) or "" |
| 573 | if "gettext" not in bb.data.getVar('P', d, True) and "gcc-runtime" not in bb.data.getVar('P', d, True) and "--disable-nls" not in cnf: | 573 | if "gettext" not in bb.data.getVar('P', d, True) and "gcc-runtime" not in bb.data.getVar('P', d, True) and "--disable-nls" not in cnf: |
| 574 | ml = d.getVar("MLPREFIX", True) or "" | ||
| 574 | if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d): | 575 | if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d): |
| 575 | gt = "gettext-native" | 576 | gt = "gettext-native" |
| 576 | elif bb.data.inherits_class('cross-canadian', d): | 577 | elif bb.data.inherits_class('cross-canadian', d): |
| 577 | gt = "gettext-nativesdk" | 578 | gt = "gettext-nativesdk" |
| 578 | else: | 579 | else: |
| 579 | gt = "virtual/gettext" | 580 | gt = "virtual/" + ml + "gettext" |
| 580 | deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") | 581 | deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") |
| 581 | if gt not in deps: | 582 | if gt not in deps: |
| 582 | for config in configs: | 583 | for config in configs: |
