Cross compilando extensiones de Python

Tengo un problema al compilar la extensión de netifaces bajo la distribución Buildroot Linux para ARM (Python 2.7.2). De acuerdo con este bloghttp: //whatschrisdoing.com/blog/2009/10/16/cross-compiling-python-extensions He definido las variables de entorno CC, LDSHARE, etc., pero distutils / setuptools no tiene en cuenta CC, por lo que todas las pruebas fallarán:

running build
Setting prefix
Setting prefix
running build_ext
checking for getifaddrs... not found. (cached)
checking for getnameinfo... not found. (cached)
checking for socket IOCTLs... not found. (cached)
checking for optional header files... netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h. (cached)
checking whether struct sockaddr has a length field... no. (cached)
checking which sockaddr_xxx structs are defined... at ax25 in in6 ipx un ash ec ll  atmpvc atmsvc dn irda llc. (cached)
building 'netifaces' extension

¿Hay algún otro ejemplo / tutorial de compilación cruzada o qué estoy haciendo mal?

Respuestas a la pregunta(2)

Su respuesta a la pregunta