Patchwork [06/16] dpkg: Fix case where ${B} != ${S}

login
register
mail settings
Submitter Richard Purdie
Date March 21, 2013, 3:55 p.m.
Message ID <1363881315-24352-6-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/46627/
State Accepted
Commit 04515f61e2768435126f0c8ccfb5ad1e368710ee
Headers show

Comments

Richard Purdie - March 21, 2013, 3:55 p.m.
Add missing path component to make out of tree builds work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/dpkg/dpkg.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index cdecd19..6bb1e16 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -30,7 +30,7 @@  EXTRA_OECONF = "--without-static-progs \
 		--without-sgml-doc"
 
 do_configure () {
-    echo >> m4/compiler.m4
+    echo >> ${S}/m4/compiler.m4
     sed -i -e 's#PERL_LIBDIR=.*$#PERL_LIBDIR="${libdir}/perl"#' ${S}/configure
     autotools_do_configure
 }