summaryrefslogtreecommitdiff
path: root/recipes-devtools
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-02-06 18:19:01 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2013-02-06 18:19:01 +0100
commitc7092ff93c50bea7d5c2175ceecf8d0e8b814b99 (patch)
tree371be9eeae7d2e84b7e7fde992f85aa727f6726c /recipes-devtools
parent29d65b46a6c31000baccef3c8f7897f89a788dca (diff)
python-numpy: backport fix of changed python-native path
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