diff options
author | Alex Kiernan <alex.kiernan@hivehome.com> | 2018-08-07 23:01:03 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-10 12:51:21 -0700 |
commit | de0149136450188c3c866478f843d484301d3c62 (patch) | |
tree | 1fac657e153e82776b5a22b2f224f3bc7594cf3f /meta-python | |
parent | 96699be966796805e9811ecf906b7493fa97c132 (diff) | |
download | meta-openembedded-de0149136450188c3c866478f843d484301d3c62.tar.gz |
python-m2crypto: Move swig fix to configure task
Fixes:
| DEBUG: Executing shell function do_configure
...
| SWIG/_m2crypto.i:10: Error: Unable to find 'gcc_macros.h'
| error: command 'swig' failed with exit status 1
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb index 899a361bd..0da4274d9 100644 --- a/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb | |||
@@ -27,7 +27,7 @@ export SWIG_FEATURES | |||
27 | # Get around a problem with swig, but only if the | 27 | # Get around a problem with swig, but only if the |
28 | # multilib header file exists. | 28 | # multilib header file exists. |
29 | # | 29 | # |
30 | do_compile_prepend() { | 30 | do_configure_prepend() { |
31 | ${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \ | 31 | ${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \ |
32 | | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h | 32 | | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h |
33 | if [ "${SITEINFO_BITS}" = "64" ];then | 33 | if [ "${SITEINFO_BITS}" = "64" ];then |