summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 4c88e9a6b7..2d13f43788 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -196,8 +196,12 @@ oe_libinstall() {
196 196
197 # If such file doesn't exist, try to cut version suffix 197 # If such file doesn't exist, try to cut version suffix
198 if [ ! -f "$lafile" ]; then 198 if [ ! -f "$lafile" ]; then
199 libname=`echo "$libname" | sed 's/-[0-9.]*$//'` 199 libname1=`echo "$libname" | sed 's/-[0-9.]*$//'`
200 lafile=$libname.la 200 lafile1=$libname.la
201 if [ -f "$lafile1" ]; then
202 libname=$libname1
203 lafile=$lafile1
204 fi
201 fi 205 fi
202 206
203 if [ -f "$lafile" ]; then 207 if [ -f "$lafile" ]; then