summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-04-04 19:00:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-04 19:00:19 +0000
commit14074512754b1a0e6c54d70de70279d24dd10f25 (patch)
treefc916a7cb47ff263f9867e1c62859da3b28d7ca9 /classes
parent7cb85885fc5a7c80c6a36c835e6d05c1aa0ee20e (diff)
base.bbclass: make oe_libinstall fix references to .la files in
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 21feaab6e6..340e5d91f8 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -196,7 +196,7 @@ oe_libinstall() {
# stop libtool using the final directory name for libraries
# in staging:
__runcmd rm -f $destpath/$libname.la
- __runcmd sed -e 's/^installed=yes$/installed=no/' $dotlai >$destpath/$libname.la
+ __runcmd sed -e 's/^installed=yes$/installed=no/' -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,' $dotlai >$destpath/$libname.la
else
__runcmd install -m 0644 $dotlai $destpath/$libname.la
fi