icecc: also set environment in do_install
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 15 Jun 2010 12:49:12 +0000 (16:49 +0400)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 15 Jun 2010 14:38:22 +0000 (18:38 +0400)
Libtool in some packages (e.g. curl) tries to relink libraries during
installation stage. If the Icecc environment isn't set in the do_install
such relinking fails. Fix this by adding do_install_prepend to
icecc.bbclass with set_icecc_env() call.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
classes/icecc.bbclass

index 8c19cab..36cc231 100644 (file)
@@ -320,3 +320,7 @@ do_configure_prepend() {
 do_compile_prepend() {
     set_icecc_env
 }
+
+do_install_prepend() {
+    set_icecc_env
+}