diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-03-17 05:18:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 22:57:56 +0000 |
commit | 7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4 (patch) | |
tree | 8df3afeed2a73f9837267dfa4fe88627aaf42a24 /meta/recipes-devtools/python/python-numpy/powerpc64 | |
parent | cd3408e7b845891b63de04249982330e02f13ee8 (diff) | |
download | openembedded-core-7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4.tar.gz openembedded-core-7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4.tar.bz2 openembedded-core-7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4.zip |
python-numpy: Fix build on musl
Match API version in cached _numpyconfig.h to the
one mandated by numpy version in use.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/powerpc64')
-rw-r--r-- | meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h index be57ac27bf..8e2b5d0940 100644 --- a/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h +++ b/meta/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h @@ -8,6 +8,7 @@ #define NPY_SIZEOF_COMPLEX_DOUBLE 16 #define NPY_SIZEOF_LONGDOUBLE 16 #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 +#define NPY_ENABLE_SEPARATE_COMPILATION 1 #define NPY_SIZEOF_PY_INTPTR_T 8 #define NPY_SIZEOF_PY_LONG_LONG 8 #define NPY_SIZEOF_LONGLONG 8 @@ -23,7 +24,7 @@ #define NPY_USE_C99_FORMATS 1 #define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden"))) #define NPY_ABI_VERSION 0x01000009 -#define NPY_API_VERSION 0x00000007 +#define NPY_API_VERSION 0x0000000A #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS 1 |