From f243689cda24339af92d3b293e0138dafeb2e4e8 Mon Sep 17 00:00:00 2001 From: Geoff Parker Date: Thu, 19 Feb 2026 16:52:25 -0800 Subject: 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 Signed-off-by: Khem Raj (cherry picked from commit c1693752d79b27a02a109dd76fe346cbcf860b14) Signed-off-by: Anuj Mittal --- meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python') 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 export STAGING_DIR -do_configure:prepend() { +do_configure:prepend:class-target() { # workaround for https://github.com/swiftlang/swift/issues/69311 sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h } -- cgit v1.2.3-54-g00ecf