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

Submitted by Richard Purdie on March 18, 2013, 2:05 a.m.

Details

Message ID 1363572312-13399-11-git-send-email-richard.purdie@linuxfoundation.org
State Accepted
Commit 4a805f74b8a2ac5db27ed8f3c3232d2391a18842
Headers show

Commit Message

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 hide | download patch | download mbox

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
 }