summaryrefslogtreecommitdiff
path: root/recipes/icu
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/icu')
-rw-r--r--recipes/icu/icu_3.6.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/icu/icu_3.6.bb b/recipes/icu/icu_3.6.bb
index 3eccfb53d9..ae79ce7be6 100644
--- a/recipes/icu/icu_3.6.bb
+++ b/recipes/icu/icu_3.6.bb
@@ -37,8 +37,10 @@ do_stage() {
autotools_stage_all
}
-# We need to append this so it runs *after* binconfig.do_stage
-do_stage_append() {
+SYSROOT_PREPROCESS_FUNCS += "icu_sysroot_preprocess"
+
+# We need to append this so it runs *after* binconfig's preprocess function
+icu_sysroot_preprocess () {
sed -i -e s:^prefix=:prefix=\"${STAGING_DIR_TARGET}/usr\": ${STAGING_BINDIR_CROSS}/icu-config
}