diff options
-rw-r--r-- | meta/classes/base.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 06a49814d2..8f46d3e2b9 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -315,7 +315,10 @@ oe_libinstall() { | |||
315 | # stop libtool using the final directory name for libraries | 315 | # stop libtool using the final directory name for libraries |
316 | # in staging: | 316 | # in staging: |
317 | __runcmd rm -f $destpath/$libname.la | 317 | __runcmd rm -f $destpath/$libname.la |
318 | __runcmd sed -e 's/^installed=yes$/installed=no/' -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' $dotlai >$destpath/$libname.la | 318 | __runcmd sed -e 's/^installed=yes$/installed=no/' \ |
319 | -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \ | ||
320 | -e "/^dependency_libs=/s,\([[:space:]']*\)${libdir},\1${STAGING_LIBDIR},g" \ | ||
321 | $dotlai >$destpath/$libname.la | ||
319 | else | 322 | else |
320 | __runcmd install -m 0644 $dotlai $destpath/$libname.la | 323 | __runcmd install -m 0644 $dotlai $destpath/$libname.la |
321 | fi | 324 | fi |