base.bbclass: fix .la file fixup rule in oe_libinstall
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 4 May 2006 18:37:14 +0000 (18:37 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 4 May 2006 18:37:14 +0000 (18:37 +0000)
 - attach 'g' to the s/${WORKDIR}/${STAGING_LIBDIR}/ sed rule
   to fix up multiple references to yet unstaged .la files

classes/base.bbclass

index 1728b65..6a9077d 100644 (file)
@@ -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