Patchwork [5/9] gperf: fix out-of-tree builds

login
register
mail settings
Submitter Ross Burton
Date Dec. 14, 2012, 2:51 p.m.
Message ID <1355496684-1498-6-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/41005/
State Accepted
Commit 74d853525fc4252f717f0baaa322e6aa5c4eb88f
Headers show

Comments

Ross Burton - Dec. 14, 2012, 2:51 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-extended/gperf/gperf.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-extended/gperf/gperf.inc b/meta/recipes-extended/gperf/gperf.inc
index a521e09..10ee912 100644
--- a/meta/recipes-extended/gperf/gperf.inc
+++ b/meta/recipes-extended/gperf/gperf.inc
@@ -14,8 +14,8 @@  inherit autotools
 EXTRA_AUTORECONF += " -I ${S}"
 
 do_configure_prepend() {
-        if [ ! -e acinclude.m4 ]; then
-                cat aclocal.m4 > acinclude.m4
+        if [ ! -e ${S}/acinclude.m4 ]; then
+                cat ${S}/aclocal.m4 > ${S}/acinclude.m4
         fi
 }