summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {
175 fi 175 fi
176 if [ -d ${STAGE_TEMP}/${libdir} ] 176 if [ -d ${STAGE_TEMP}/${libdir} ]
177 then 177 then
178 olddir=`pwd`
178 cd ${STAGE_TEMP}/${libdir} 179 cd ${STAGE_TEMP}/${libdir}
179 las=$(find . -name \*.la -type f) 180 las=$(find . -name \*.la -type f)
181 cd $olddir
180 echo "Found la files: $las" 182 echo "Found la files: $las"
181 if [ -n "$las" ]; then 183 if [ -n "$las" ]; then
182 # If there are .la files then libtool was used in the 184 # If there are .la files then libtool was used in the