summaryrefslogtreecommitdiffstats
path: root/meta/classes
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/classes
parentcbcad726fe019e2825229fd075298050796beaf2 (diff)
downloadpoky-1383f0fb4ccae5622439e2eb02711c57aa2b4c24.tar.gz
autotools.bbclass: No need to fork sed each time
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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 509c6f4eae..5ddf8baa07 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -146,10 +146,11 @@ PACKAGE_PREPROCESS_FUNCS += "autotools_prepackage_lamangler"
146 146
147autotools_prepackage_lamangler () { 147autotools_prepackage_lamangler () {
148 for i in `find ${PKGD} -name "*.la"` ; do \ 148 for i in `find ${PKGD} -name "*.la"` ; do \
149 sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i 149 sed -i -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
150 sed -i -e s:${D}::g $i 150 -e 's:${D}::g;' \
151 sed -i -e 's:-I${WORKDIR}\S*: :g' $i 151 -e 's:-I${WORKDIR}\S*: :g;' \
152 sed -i -e 's:-L${WORKDIR}\S*: :g' $i 152 -e 's:-L${WORKDIR}\S*: :g;' \
153 $i
153 done 154 done
154} 155}
155 156