]> code.ossystems Code Review - openembedded-core.git/commit
icu-native: fix hard paths in native icu
authorAndré Draszik <adraszik@digisoft.tv>
Mon, 18 May 2015 08:06:01 +0000 (09:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:41:55 +0000 (09:41 +0100)
commit922faf8ed42cd2d105e30a8c92836664d6b5bb18
treebaf659610439b440ff33c85a2a43ebd02c4a3c95
parent14b5556ad3a4d7e817442e004b73601041f31b69
icu-native: fix hard paths in native icu

The icu recipe installs icu-native twice, once in the usual location,
and once for cross builds into the path given by --with-cross-build.

This latter path is not included in the list of paths recognised by
chrpath.bbclass, hence the binaries in there retain the rpath as used
during compilation. This causes the package to not be relocateable
from sstate
[YOCTO #6851]

We use the infrastructure that is in place already, and simply set
PREPROCESS_RELOCATE_DIRS as necessary, and things start to work.

(From OE-Core rev: e7fcaa534511e3f65b630b01cf0c824ee5a5fd4d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/icu/icu.inc