summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-05-04 18:37:14 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-04 18:37:14 +0000
commit98d48268244946112cf179a1dfeb7101c9370652 (patch)
treead3f81037ad0ee1e71422cfb573838fabcbb65f0 /classes
parent27f543c217767640f9cb0c1af6a2452338a3cfe6 (diff)
base.bbclass: fix .la file fixup rule in oe_libinstall
- attach 'g' to the s/${WORKDIR}/${STAGING_LIBDIR}/ sed rule to fix up multiple references to yet unstaged .la files
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 1728b65709..6a9077d55a 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/' -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,' $dotlai >$destpath/$libname.la
+ __runcmd sed -e 's/^installed=yes$/installed=no/' -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' $dotlai >$destpath/$libname.la
else
__runcmd install -m 0644 $dotlai $destpath/$libname.la
fi