rpm: Fix case where ${B} != ${S}

We need to run autogen.sh in the correct directory (${S}).

(From OE-Core rev: f352f9f25695635bbaad09774f02e66684971fc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-21 14:22:55 +00:00
parent 5306f72e7a
commit 902b785e93
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ do_configure() {
# Disable tests!
echo "all:" > ${S}/tests/Makefile.am
${S}/autogen.sh
( cd ${S}; ${S}/autogen.sh )
# NASTY hack to make sure configure files the right pkg-config file...
sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \