Patchwork [meta-oe] ltrace: Run autogen.sh in source directory

login
register
mail settings
Submitter Ash Charles
Date May 26, 2014, 8:34 p.m.
Message ID <1401136440-438-1-git-send-email-ashcharles@gmail.com>
Download mbox | patch
Permalink /patch/72747/
State Accepted, archived
Headers show

Comments

Ash Charles - May 26, 2014, 8:34 p.m.
The autogen.sh script needs to be run in and from the source
directory.  The configuration step can still be run from
out-of-tree.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index 149af52..89f760a 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -21,5 +21,5 @@  S = "${WORKDIR}/git"
 inherit autotools
 
 do_configure_prepend () {
-	./autogen.sh
+	( cd ${S}; ./autogen.sh )
 }