mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
gettext.bbclass: also search for files in target sysroot
fwupd contains polkit policy files that it translates using polkit.its and polkit.loc files that the next polkit release is going to install (see https://github.com/hughsie/fwupd/issues/107). In order to make that work with OE-core, the gettext tools must be told to look also for files in the recipe-sysroot. Otherwise it only uses the GETTEXTDATADIR set by the gettext-native tool wrappers, and that only points to the files provided by gettext-native itself. (From OE-Core rev: ebb706f9dafdbb7c4aa18e5595930bbc1a0497b1) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
700b846ba0
commit
e2ecc4d20f
@@ -17,3 +17,8 @@ DEPENDS_GETTEXT ??= "virtual/gettext gettext-native"
|
||||
|
||||
BASEDEPENDS_append = " ${@gettext_dependencies(d)}"
|
||||
EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"
|
||||
|
||||
# Without this, msgfmt from gettext-native will not find ITS files
|
||||
# provided by target recipes (for example, polkit.its).
|
||||
GETTEXTDATADIRS_append_class-target = ":${STAGING_DATADIR}/gettext"
|
||||
export GETTEXTDATADIRS
|
||||
|
||||
Reference in New Issue
Block a user