diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-21 17:46:14 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-21 17:46:14 +0000 |
commit | 01b1dbaefdfcb78aef2f5a480046b56a04f90e6f (patch) | |
tree | 3caaedee4afa3f6851f1c07588fcbe234eca33fa /meta/classes/base.bbclass | |
parent | 450aea724eac30317c0e8d77c7fc69e47f02ad7c (diff) | |
download | openembedded-core-01b1dbaefdfcb78aef2f5a480046b56a04f90e6f.tar.gz openembedded-core-01b1dbaefdfcb78aef2f5a480046b56a04f90e6f.tar.bz2 openembedded-core-01b1dbaefdfcb78aef2f5a480046b56a04f90e6f.zip |
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
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 8 |
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() { # If such file doesn't exist, try to cut version suffix if [ ! -f "$lafile" ]; then - libname=`echo "$libname" | sed 's/-[0-9.]*$//'` - lafile=$libname.la + libname1=`echo "$libname" | sed 's/-[0-9.]*$//'` + lafile1=$libname.la + if [ -f "$lafile1" ]; then + libname=$libname1 + lafile=$lafile1 + fi fi if [ -f "$lafile" ]; then |