diff options
-rw-r--r-- | meta/classes/gettext.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index d60a0c12ce..689ef55ed1 100644 --- a/meta/classes/gettext.bbclass +++ b/meta/classes/gettext.bbclass | |||
@@ -17,3 +17,8 @@ DEPENDS_GETTEXT ??= "virtual/gettext gettext-native" | |||
17 | 17 | ||
18 | BASEDEPENDS_append = " ${@gettext_dependencies(d)}" | 18 | BASEDEPENDS_append = " ${@gettext_dependencies(d)}" |
19 | EXTRA_OECONF_append = " ${@gettext_oeconf(d)}" | 19 | EXTRA_OECONF_append = " ${@gettext_oeconf(d)}" |
20 | |||
21 | # Without this, msgfmt from gettext-native will not find ITS files | ||
22 | # provided by target recipes (for example, polkit.its). | ||
23 | GETTEXTDATADIRS_append_class-target = ":${STAGING_DATADIR}/gettext" | ||
24 | export GETTEXTDATADIRS | ||