summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/distutils.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index ef761be707..27351d9c7a 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -52,6 +52,8 @@ distutils_do_install() {
52 fi 52 fi
53 53
54 rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/easy-install.pth 54 rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/easy-install.pth
55
56 find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \;
55} 57}
56 58
57EXPORT_FUNCTIONS do_compile do_install 59EXPORT_FUNCTIONS do_compile do_install