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 <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2016-03-17 05:18:21 +00:00
committed by Richard Purdie
parent e1f3f4cc3c
commit 0d9f515e1e
9 changed files with 51 additions and 7 deletions

View File

@@ -20,10 +20,11 @@
#define NPY_HAVE_COMPLEX_DOUBLE 1
#define NPY_HAVE_COMPLEX_FLOAT 1
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
#define NPY_ENABLE_SEPARATE_COMPILATION 1
#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