summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index d65a151e60..f00e307fe1 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -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