[oe-commits] Eric BENARD : gnome-power-manager: fix compilation: `libtool: Command not found`

git version control git at git.openembedded.org
Thu Dec 30 21:06:12 UTC 2010


Module: openembedded.git
Branch: testing-next
Commit: ae600202dbf68be4cc7515b877ef143c1f5f8c31
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ae600202dbf68be4cc7515b877ef143c1f5f8c31

Author: Eric BENARD <eric at eukrea.com>
Date:   Thu Dec 30 16:55:34 2010 +0000

gnome-power-manager: fix compilation: `libtool: Command not found`

* libtool is hardcoded in src/Makefile and leads to
libtool: Command not found

Signed-off-by: Eric Bénard <eric at eukrea.com>
Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>

---

 recipes/gnome/gnome-power-manager_2.30.0.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/gnome/gnome-power-manager_2.30.0.bb b/recipes/gnome/gnome-power-manager_2.30.0.bb
index a752852..0c7bcb5 100644
--- a/recipes/gnome/gnome-power-manager_2.30.0.bb
+++ b/recipes/gnome/gnome-power-manager_2.30.0.bb
@@ -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"





More information about the Openembedded-commits mailing list