From: Richard Purdie Date: Wed, 11 Nov 2009 21:38:33 +0000 (+0000) Subject: icu: Fix class ordering problem by converting to use SYSROOT_PREPROCESS_FUNCS X-Git-Tag: Release-2010-05/1~1728^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc3d69b22b6b2a8906dc80ff0b2421ef2d429d71;p=openembedded.git icu: Fix class ordering problem by converting to use SYSROOT_PREPROCESS_FUNCS Signed-off-by: Richard Purdie --- 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 }