gnome-power-manager: fix compilation: `libtool: Command not found`
authorEric BENARD <eric@eukrea.com>
Thu, 30 Dec 2010 16:55:34 +0000 (16:55 +0000)
committerEric Bénard <eric@eukrea.com>
Thu, 30 Dec 2010 10:35:57 +0000 (11:35 +0100)
* libtool is hardcoded in src/Makefile and leads to
libtool: Command not found

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
recipes/gnome/gnome-power-manager_2.30.0.bb

index a752852..0c7bcb5 100644 (file)
@@ -27,6 +27,7 @@ do_configure_append() {
         for i in $(find ${S} -name "Makefile") ; do
             sed -i -e s:-Werror::g $i
         done
+               sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile
 }
 
 PACKAGES =+ "${PN}-applets"