From 98d48268244946112cf179a1dfeb7101c9370652 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Thu, 4 May 2006 18:37:14 +0000 Subject: [PATCH] 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 --- classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5