summaryrefslogtreecommitdiff
path: root/recipes/icu
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-11 21:38:33 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-11 21:38:33 +0000
commitdc3d69b22b6b2a8906dc80ff0b2421ef2d429d71 (patch)
tree659d000dfdb63622d901780bf16c48a750adfe30 /recipes/icu
parent1f27311675fd86dc78da439245241638fc887fbf (diff)
icu: Fix class ordering problem by converting to use SYSROOT_PREPROCESS_FUNCS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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
}