gnome-power-manager: Fix build with B!=S

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2014-06-20 17:22:26 +02:00
parent 5177d38d46
commit cc15a4fd24
@@ -27,12 +27,11 @@ EXTRA_OECONF = " --disable-scrollkeeper \
"
do_configure_append() {
rm config.log
# Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
for i in $(find ${S} -name "Makefile") ; do
for i in $(find ${B} -name "Makefile") ; do
sed -i -e s:-Werror::g $i
done
sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile
sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${B}/src/Makefile
}
PACKAGES =+ "${PN}-applets"