summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorGeoff Parker <geoffhp@gmail.com>2026-02-19 16:52:25 -0800
committerKhem Raj <raj.khem@gmail.com>2026-02-20 23:34:22 -0800
commitc1693752d79b27a02a109dd76fe346cbcf860b14 (patch)
treef4f191ddc51496e020bac2dc17112c1f297b9e49 /meta-python
parent22c702491a2e3ef31dcdf9628b9936f0988fbe57 (diff)
downloadmeta-openembedded-c1693752d79b27a02a109dd76fe346cbcf860b14.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>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb
index bd7a2369bd..abe79671d2 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb
@@ -44,7 +44,7 @@ export SWIG_FEATURES
44 44
45export STAGING_DIR 45export STAGING_DIR
46 46
47do_configure:prepend() { 47do_configure:prepend:class-target() {
48 # workaround for https://github.com/swiftlang/swift/issues/69311 48 # workaround for https://github.com/swiftlang/swift/issues/69311
49 sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h 49 sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h
50} 50}