1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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
This commit is contained in:
Richard Purdie
2006-11-21 17:46:14 +00:00
parent 450aea724e
commit 01b1dbaefd
+6 -2
View File
@@ -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