diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python-m2crypto.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc index a36ab8a7fa..5f5444f37e 100644 --- a/meta-python/recipes-devtools/python/python-m2crypto.inc +++ b/meta-python/recipes-devtools/python/python-m2crypto.inc | |||
@@ -32,7 +32,7 @@ export SWIG_FEATURES | |||
32 | # | 32 | # |
33 | do_configure_prepend() { | 33 | do_configure_prepend() { |
34 | ${CPP} -dM - < /dev/null | grep -v '__\(STDC\|REGISTER_PREFIX\|GNUC\|STDC_HOSTED\)__' \ | 34 | ${CPP} -dM - < /dev/null | grep -v '__\(STDC\|REGISTER_PREFIX\|GNUC\|STDC_HOSTED\)__' \ |
35 | | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h | 35 | | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > ${S}/SWIG/gcc_macros.h |
36 | 36 | ||
37 | if [ "${SITEINFO_BITS}" = "64" ];then | 37 | if [ "${SITEINFO_BITS}" = "64" ];then |
38 | bit="64" | 38 | bit="64" |
@@ -42,11 +42,11 @@ do_configure_prepend() { | |||
42 | 42 | ||
43 | if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then | 43 | if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then |
44 | for i in SWIG/_ec.i SWIG/_evp.i; do | 44 | for i in SWIG/_ec.i SWIG/_evp.i; do |
45 | sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "$i" | 45 | sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "${S}/$i" |
46 | done | 46 | done |
47 | elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then | 47 | elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then |
48 | for i in SWIG/_ec.i SWIG/_evp.i; do | 48 | for i in SWIG/_ec.i SWIG/_evp.i; do |
49 | sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "$i" | 49 | sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "${S}/$i" |
50 | done | 50 | done |
51 | fi | 51 | fi |
52 | } | 52 | } |