path: root/meta/recipes-support/icu
diff options
authorAndré Draszik <>2015-05-18 09:06:01 +0100
committerRichard Purdie <>2015-05-20 21:40:12 +0100
commite7fcaa534511e3f65b630b01cf0c824ee5a5fd4d (patch)
treefa3999601eaa4c457c6ee9c92a303b7813ad5f80 /meta/recipes-support/icu
parentdd80d50a7943da4b58896b908b47a4aeed120075 (diff)
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. Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-support/icu')
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/ b/meta/recipes-support/icu/
index f4254b5f5c..cc6f222a50 100644
--- a/meta/recipes-support/icu/
+++ b/meta/recipes-support/icu/
@@ -26,6 +26,7 @@ EXTRA_OECONF = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
EXTRA_OECONF_class-native = ""
EXTRA_OECONF_class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
do_install_append_class-native() {
mkdir -p ${D}/${STAGING_ICU_DIR_NATIVE}/config
cp -r ${B}/config/ ${D}/${STAGING_ICU_DIR_NATIVE}/config