summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-21 17:46:14 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-21 17:46:14 +0000
commit01b1dbaefdfcb78aef2f5a480046b56a04f90e6f (patch)
tree3caaedee4afa3f6851f1c07588fcbe234eca33fa
parent450aea724eac30317c0e8d77c7fc69e47f02ad7c (diff)
downloadpoky-01b1dbaefdfcb78aef2f5a480046b56a04f90e6f.tar.gz
base.bbclass: Fix errors in none libtooled packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@935 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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