[oe-commits] [meta-openembedded] 33/43: python-m2crypto: Move swig fix to configure task
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 13 06:25:01 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit de0149136450188c3c866478f843d484301d3c62
Author: Alex Kiernan <alex.kiernan at hivehome.com>
AuthorDate: Tue Aug 7 23:01:03 2018 +0000
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 at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 899a361..0da4274 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
# Get around a problem with swig, but only if the
# multilib header file exists.
#
-do_compile_prepend() {
+do_configure_prepend() {
${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \
| sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h
if [ "${SITEINFO_BITS}" = "64" ];then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list