mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-30 02:48:37 +00:00
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>
This commit is contained in:
@@ -27,7 +27,7 @@ export SWIG_FEATURES
|
|||||||
# Get around a problem with swig, but only if the
|
# Get around a problem with swig, but only if the
|
||||||
# multilib header file exists.
|
# multilib header file exists.
|
||||||
#
|
#
|
||||||
do_compile_prepend() {
|
do_configure_prepend() {
|
||||||
${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \
|
${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
|
| sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h
|
||||||
if [ "${SITEINFO_BITS}" = "64" ];then
|
if [ "${SITEINFO_BITS}" = "64" ];then
|
||||||
|
|||||||
Reference in New Issue
Block a user