From 0d9f515e1eca0564503fddcaa337fecfd45b368e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 17 Mar 2016 05:18:21 +0000 Subject: python-numpy: Fix build on musl Match API version in cached _numpyconfig.h to the one mandated by numpy version in use. (From OE-Core rev: 7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4) Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h') diff --git a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h index be57ac27bf..8e2b5d0940 100644 --- a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h +++ b/meta/recipes-devtools/python/python-numpy/mips64/_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 -- cgit v1.2.3-54-g00ecf