summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-30 00:44:23 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:22 +0000
commit1383f0fb4ccae5622439e2eb02711c57aa2b4c24 (patch)
tree179e1cf9600c885f49367106ee5a524ac3ba94d1 /meta
parentcbcad726fe019e2825229fd075298050796beaf2 (diff)
downloadopenembedded-core-1383f0fb4ccae5622439e2eb02711c57aa2b4c24.tar.gz
openembedded-core-1383f0fb4ccae5622439e2eb02711c57aa2b4c24.tar.bz2
openembedded-core-1383f0fb4ccae5622439e2eb02711c57aa2b4c24.tar.xz
openembedded-core-1383f0fb4ccae5622439e2eb02711c57aa2b4c24.zip
autotools.bbclass: No need to fork sed each time
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/autotools.bbclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 509c6f4ea..5ddf8baa0 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -146,10 +146,11 @@ PACKAGE_PREPROCESS_FUNCS += "autotools_prepackage_lamangler"
autotools_prepackage_lamangler () {
for i in `find ${PKGD} -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
+ sed -i -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
+ -e 's:${D}::g;' \
+ -e 's:-I${WORKDIR}\S*: :g;' \
+ -e 's:-L${WORKDIR}\S*: :g;' \
+ $i
done
}