summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index fe0d744eb3..3906ba797e 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1178,12 +1178,10 @@ Rerun configure task after fixing this.""")
1178 cnf = d.getVar('EXTRA_OECONF') or "" 1178 cnf = d.getVar('EXTRA_OECONF') or ""
1179 if "gettext" not in d.getVar('P') and "gcc-runtime" not in d.getVar('P') and "--disable-nls" not in cnf: 1179 if "gettext" not in d.getVar('P') and "gcc-runtime" not in d.getVar('P') and "--disable-nls" not in cnf:
1180 ml = d.getVar("MLPREFIX") or "" 1180 ml = d.getVar("MLPREFIX") or ""
1181 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): 1181 if bb.data.inherits_class('cross-canadian', d):
1182 gt = "gettext-native"
1183 elif bb.data.inherits_class('cross-canadian', d):
1184 gt = "nativesdk-gettext" 1182 gt = "nativesdk-gettext"
1185 else: 1183 else:
1186 gt = "virtual/" + ml + "gettext" 1184 gt = "gettext-native"
1187 deps = bb.utils.explode_deps(d.getVar('DEPENDS') or "") 1185 deps = bb.utils.explode_deps(d.getVar('DEPENDS') or "")
1188 if gt not in deps: 1186 if gt not in deps:
1189 for config in configs: 1187 for config in configs: