They may not be appropriate for target due to cross compiling

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 .../recipes-devtools/python/python3-m2crypto_0.39.0.bb       | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb 
b/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb
index 3a4a700bf7..ac62773064 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.39.0.bb
@@ -44,4 +44,9 @@ export SWIG_FEATURES
 
 export STAGING_DIR
 
+do_install:append() {
+    rm -f 
${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/SSL/__pycache__/*.cpython-*.pyc
+    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/__pycache__/*.cpython-*.pyc
+}
+
 BBCLASSEXTEND = "native"
-- 
2.41.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104306): 
https://lists.openembedded.org/g/openembedded-devel/message/104306
Mute This Topic: https://lists.openembedded.org/mt/100606004/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to