diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2006-09-12 22:49:01 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2006-09-12 22:49:01 +0000 |
commit | 268ffb5e9ed516784b18b9fcf45d2806e2da74f4 (patch) | |
tree | 9a7931b7d22aa0463043c3480cdb03ac19ca74ff /classes | |
parent | d17f585bc4004549b4c3d45b3d7d8613c3f0a6a0 (diff) | |
parent | acdbdd967b91b39e1c134e720213a7b195012890 (diff) |
merge of '22712c8613b8a7c9e5bd16bc8a75a2445ce7294c'
and '5db3d555762b1c8d96106bfae60bec656db47eba'
Diffstat (limited to 'classes')
-rw-r--r-- | classes/base.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 80e0b82198..bb4abb9571 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -193,6 +193,13 @@ oe_libinstall() { __runcmd cd $dir lafile=$libname.la + + # 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 + fi + if [ -f "$lafile" ]; then # libtool archive eval `cat $lafile|grep "^library_names="` |