mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +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:
@@ -196,8 +196,12 @@ oe_libinstall() {
|
|||||||
|
|
||||||
# If such file doesn't exist, try to cut version suffix
|
# If such file doesn't exist, try to cut version suffix
|
||||||
if [ ! -f "$lafile" ]; then
|
if [ ! -f "$lafile" ]; then
|
||||||
libname=`echo "$libname" | sed 's/-[0-9.]*$//'`
|
libname1=`echo "$libname" | sed 's/-[0-9.]*$//'`
|
||||||
lafile=$libname.la
|
lafile1=$libname.la
|
||||||
|
if [ -f "$lafile1" ]; then
|
||||||
|
libname=$libname1
|
||||||
|
lafile=$lafile1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$lafile" ]; then
|
if [ -f "$lafile" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user