summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-06-02 12:42:49 -0700
committerKhem Raj <raj.khem@gmail.com>2010-06-05 06:52:39 -0700
commit61f0980015f29d6050d6d44b8029b757978b51d6 (patch)
treee5f989676b6ba0a53283bd18042fb896137c6c5f /classes
parent87bf42f132f6a05fd294e3690cf637ab5b1362a6 (diff)
classes/gettext.bbclass: Account for libiconv and libintl too.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/gettext.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/gettext.bbclass b/classes/gettext.bbclass
index a40e74f819..968531b4ed 100644
--- a/classes/gettext.bbclass
+++ b/classes/gettext.bbclass
@@ -4,14 +4,14 @@ def gettext_after_parse(d):
cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d)
cfg += " --disable-nls"
depends = bb.data.getVar('DEPENDS', d, 1) or ""
- bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d)
+ bb.data.setVar('DEPENDS', oe_filter_out('^(gettext|gettext-native)$', depends, d), d)
bb.data.setVar('EXTRA_OECONF', cfg, d)
python () {
gettext_after_parse(d)
}
-DEPENDS_GETTEXT = "gettext gettext-native"
+DEPENDS_GETTEXT = "gettext gettext-native virtual/libiconv virtual/libintl"
DEPENDS =+ "${DEPENDS_GETTEXT}"
EXTRA_OECONF += "--enable-nls"