[Buildroot] [PATCH v3] Add pygame package

Julien Boibessot julien.boibessot at free.fr
Wed Jan 11 11:09:44 UTC 2012


On 01/11/2012 10:54 AM, Peter Korsgaard wrote:
>   Julien>  You have the same problem (include added) in python-mad package. Does
>   Julien>  it compile on your Host ?
>
> It does compile here. Presumably because of the --include-dirs, even
> though it ends up adding both an -I for host-python and target-python
> (but target is first, so used) which isn't really nice:
>
> building 'madmodule' extension
> creating build
> creating build/temp.linux-x86_64-2.7
> creating build/temp.linux-x86_64-2.7/src
> /home/peko/source/buildroot/output/host/usr/bin/arm-linux-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Os -fPIC -DVERSION_MAJOR=0 -DVERSION_MINOR=6 -DVERSION="0.6" -I/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include -I/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/python2.7 -I/home/peko/source/buildroot/output/host/usr/include/python2.7 -c src/madmodule.c -o build/temp.linux-x86_64-2.7/src/madmodule.o
>

can you try my v4 patch version please ? I used Thomas distutils 
cross-compilation modifications to prevent Host include usage.

Regards,
Julien


More information about the buildroot mailing list