summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/python/python-numpy_1.4.1.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-numpy_1.4.1.bbappend b/recipes-devtools/python/python-numpy_1.4.1.bbappend
new file mode 100644
index 0000000..7f5e534
--- /dev/null
+++ b/recipes-devtools/python/python-numpy_1.4.1.bbappend
@@ -0,0 +1,8 @@
+PRINC = "1"
+# This is a ugly, ugly hack - Koen
+do_compile_prepend() {
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+ ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
+ true
+ cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
+} \ No newline at end of file