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

Submitted by Ross Burton on Dec. 14, 2012, 2:51 p.m.

Details

Message ID 1355496684-1498-6-git-send-email-ross.burton@intel.com
State Accepted
Commit 250c4d28a82f7bec8631b97630c3d7c44fa1f85e
Headers show

Commit Message

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

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
 }