diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-03-14 16:26:33 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-14 16:26:33 +0000 |
commit | e3e0ec29e303e833aef71d1653d6743257433182 (patch) | |
tree | 1e35be9eb0a3c17a9f2f45aa86fa3293c3177f79 /classes/base.bbclass | |
parent | 96c6a4c1c957e79130e58a7cc5a53c9a4810202a (diff) |
base.bbclass: Add .la file brute force sed enhancement from poky
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 615d02d07e..cfdcaf9c3e 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -325,6 +325,7 @@ oe_libinstall() { __runcmd rm -f $destpath/$libname.la __runcmd sed -e 's/^installed=yes$/installed=no/' \ -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \ + -e "/^dependency_libs=/s,\([[:space:]']+\)${libdir},\1${STAGING_LIBDIR},g" \ $dotlai >$destpath/$libname.la else __runcmd install -m 0644 $dotlai $destpath/$libname.la |