diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-27 21:24:12 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-27 21:24:12 +0000 |
commit | 3ec8407fcdcac93b491616a6f8e20c27ac789fad (patch) | |
tree | 05ed46a1da4281d0ad6422e1d04289050383bd23 /classes/autotools.bbclass | |
parent | 8caffa254ca4072d1530f4c3273e4ba87700252f (diff) | |
parent | a0a17d54ae3dfdf9acf1a339650701fe83efb500 (diff) |
merge of '65fcc53beb3d65343762ba2dce11a497216af44c'
and 'f81643eda3b84834595762e576e7135f0101ce23'
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r-- | classes/autotools.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 3c555751da..fccf2b6d80 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -139,6 +139,13 @@ autotools_do_configure() { autotools_do_install() { oe_runmake 'DESTDIR=${D}' install + + for i in `find ${D} -name "*.la"` ; do \ + sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i + sed -i -e s:${D}::g $i + sed -i -e 's:-I${WORKDIR}\S*: :g' $i + sed -i -e 's:-L${WORKDIR}\S*: :g' $i + done } STAGE_TEMP="${WORKDIR}/temp-staging" |