summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorGeoff Parker <geoffhp@gmail.com>2026-02-19 16:52:25 -0800
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-02-25 12:36:08 +0530
commitf243689cda24339af92d3b293e0138dafeb2e4e8 (patch)
tree21f10799e7ce7d885eda4fa65085a232119b8ec0 /meta-python/recipes-devtools/python
parent50292b4331431f58a01f5b5518a8645077fc63d6 (diff)
downloadmeta-openembedded-f243689cda24339af92d3b293e0138dafeb2e4e8.tar.gz
python3-m2crypto: fix python3-m2crypto-native do_configure:prepend()
The recent workaround for https://github.com/swiftlang/swift/issues/69311 breaks python3-m2crypto-native, with error about missing e_os2.h file in recipe-sysroot-native. Apply do_configure:prepend to class-target only to fix. Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit c1693752d79b27a02a109dd76fe346cbcf860b14) Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
index dce459477f..24e6ef9b32 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
@@ -46,7 +46,7 @@ export SWIG_FEATURES
46 46
47export STAGING_DIR 47export STAGING_DIR
48 48
49do_configure:prepend() { 49do_configure:prepend:class-target() {
50 # workaround for https://github.com/swiftlang/swift/issues/69311 50 # workaround for https://github.com/swiftlang/swift/issues/69311
51 sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h 51 sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h
52} 52}