mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-21 05:57:05 +00:00
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>
This commit is contained in:
@@ -44,7 +44,7 @@ export SWIG_FEATURES
|
|||||||
|
|
||||||
export STAGING_DIR
|
export STAGING_DIR
|
||||||
|
|
||||||
do_configure:prepend() {
|
do_configure:prepend:class-target() {
|
||||||
# workaround for https://github.com/swiftlang/swift/issues/69311
|
# workaround for https://github.com/swiftlang/swift/issues/69311
|
||||||
sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h
|
sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user