mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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:
@@ -175,8 +175,10 @@ autotools_stage_all() {
|
|||||||
fi
|
fi
|
||||||
if [ -d ${STAGE_TEMP}/${libdir} ]
|
if [ -d ${STAGE_TEMP}/${libdir} ]
|
||||||
then
|
then
|
||||||
|
olddir=`pwd`
|
||||||
cd ${STAGE_TEMP}/${libdir}
|
cd ${STAGE_TEMP}/${libdir}
|
||||||
las=$(find . -name \*.la -type f)
|
las=$(find . -name \*.la -type f)
|
||||||
|
cd $olddir
|
||||||
echo "Found la files: $las"
|
echo "Found la files: $las"
|
||||||
if [ -n "$las" ]; then
|
if [ -n "$las" ]; then
|
||||||
# If there are .la files then libtool was used in the
|
# If there are .la files then libtool was used in the
|
||||||
|
|||||||
Reference in New Issue
Block a user