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 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 }