diff options
| author | Geoff Parker <geoffhp@gmail.com> | 2026-02-19 16:52:25 -0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-02-25 12:36:08 +0530 |
| commit | f243689cda24339af92d3b293e0138dafeb2e4e8 (patch) | |
| tree | 21f10799e7ce7d885eda4fa65085a232119b8ec0 /meta-python | |
| parent | 50292b4331431f58a01f5b5518a8645077fc63d6 (diff) | |
| download | meta-openembedded-f243689cda24339af92d3b293e0138dafeb2e4e8.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>
(cherry picked from commit c1693752d79b27a02a109dd76fe346cbcf860b14)
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 46 | 46 | ||
| 47 | export STAGING_DIR | 47 | export STAGING_DIR |
| 48 | 48 | ||
| 49 | do_configure:prepend() { | 49 | do_configure:prepend:class-target() { |
| 50 | # workaround for https://github.com/swiftlang/swift/issues/69311 | 50 | # workaround for https://github.com/swiftlang/swift/issues/69311 |
| 51 | sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h | 51 | sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h |
| 52 | } | 52 | } |
