Skip to contentSkip to conversation

python3-m2crypto: fix python3-m2crypto-native do_configure:prepend()

PATCH New Geoff Parker 1 participant 1 message Feb 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb +1 -1
index bd7a2369bd..abe79671d2 100644
@@ -44,7 +44,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
 }
Signature · 1 line
2.39.5