Patchwork [11/13] libsdl: Fix ${B} != ${S} issues

login
register
mail settings
Submitter Richard Purdie
Date March 18, 2013, 2:05 a.m.
Message ID <1363572312-13399-11-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/46359/
State New
Headers show

Comments

Richard Purdie - March 18, 2013, 2:05 a.m.
Fix out of tree builds by remvoing cwd assumption.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-graphics/libsdl/libsdl_1.2.15.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
index 5776617..1bee364 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -57,7 +57,7 @@  do_configure_prepend() {
         # Remove old libtool macros.
         MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
         for i in ${MACROS}; do
-               rm -f acinclude/$i
+               rm -f ${S}/acinclude/$i
         done
         export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
 }