summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 8aa035191e..509c6f4eae 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -140,8 +140,12 @@ autotools_do_configure() {
140 140
141autotools_do_install() { 141autotools_do_install() {
142 oe_runmake 'DESTDIR=${D}' install 142 oe_runmake 'DESTDIR=${D}' install
143}
144
145PACKAGE_PREPROCESS_FUNCS += "autotools_prepackage_lamangler"
143 146
144 for i in `find ${D} -name "*.la"` ; do \ 147autotools_prepackage_lamangler () {
148 for i in `find ${PKGD} -name "*.la"` ; do \
145 sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i 149 sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i
146 sed -i -e s:${D}::g $i 150 sed -i -e s:${D}::g $i
147 sed -i -e 's:-I${WORKDIR}\S*: :g' $i 151 sed -i -e 's:-I${WORKDIR}\S*: :g' $i