autotools.bbclass: Ensure the current working directory is preserved in autotools_stage_all

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3620 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2008-01-29 20:55:25 +00:00
parent 26b3e203bd
commit 1fd6bb16d8
1 changed files with 2 additions and 0 deletions

View File

@ -175,8 +175,10 @@ autotools_stage_all() {
fi
if [ -d ${STAGE_TEMP}/${libdir} ]
then
olddir=`pwd`
cd ${STAGE_TEMP}/${libdir}
las=$(find . -name \*.la -type f)
cd $olddir
echo "Found la files: $las"
if [ -n "$las" ]; then
# If there are .la files then libtool was used in the