diff options
author | Koen Kooi <koen@openembedded.org> | 2006-07-31 11:50:33 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-07-31 11:50:33 +0000 |
commit | 3817cb3c7ea29a5665b4079aeb4b1a3b92d6b2d6 (patch) | |
tree | 9615c1ebca5fc90f67c9fce4dacd3de3da1febcd | |
parent | a4e572b8a989f1803370283bf553abf5e15aca41 (diff) | |
download | openembedded-3817cb3c7ea29a5665b4079aeb4b1a3b92d6b2d6.tar.gz |
classes/packaged-staging.bbclass: fix .la files per zecke's suggestion
-rw-r--r-- | classes/packaged-staging.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index 8a9a413aad..cab0923b80 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -93,6 +93,10 @@ if [ ${PN} != "linux-libc-headers" ] ; then for spawn in `cat ${SPAWNFILE} | grep -v locale` ; do \ if [ -e ${DEPLOY_DIR_IPK}/${spawn}_* ]; then ${PSTAGE_INSTALL_CMD} ${STAGING_BASEDIR} ${spawn} + # clean up .la files to avoid having references to the builddirs in the binaries + for lafile in ${STAGING_LIBDIR}/*.la ; do \ + sed -i s:installed=yes:installed=no:g ${lafile} + done else oenote "${spawn} not found, probably empty package" fi |