python: force reconf for libffi subdirectory, needed with newer autotools
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 13:06:56 +0000 (14:06 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 19 Nov 2009 07:51:19 +0000 (08:51 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/python/python_2.6.2.bb

index 941f039..c367ce8 100644 (file)
@@ -33,6 +33,10 @@ inherit autotools
 TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__"
 TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
 
+do_configure_prepend() {
+       autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || oenote "_ctypes failed to autoreconf"
+}
+
 #
 # Copy config.h and an appropriate Makefile for distutils.sysconfig,
 # which laters uses the information out of these to compile extensions