From dc3d69b22b6b2a8906dc80ff0b2421ef2d429d71 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 11 Nov 2009 21:38:33 +0000 Subject: icu: Fix class ordering problem by converting to use SYSROOT_PREPROCESS_FUNCS Signed-off-by: Richard Purdie --- recipes/icu/icu_3.6.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'recipes/icu') 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 } -- cgit 1.2.3-korg