[issue20211] setup.py: do not add invalid header locations

2016-03-09 Thread Martin Hundebøll
Martin Hundebøll added the comment: The patch looks good to me, and works in my setup. -- nosy: +hundeboll ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26443] cross building extensions picks up host headers

2016-03-09 Thread Martin Hundebøll
Martin Hundebøll added the comment: Yes, it is a duplicate of #20211, and I agree with the fix proposed in there. Thanks for pointing it out. -- resolution: -> duplicate status: open -> closed ___ Python tracker <rep...@bugs.python.o

[issue26443] cross building extensions picks up host headers

2016-02-26 Thread Martin Hundebøll
New submission from Martin Hundebøll: When cross building python, the building of extensions is called with -I/usr/include and -L/usr/lib This makes some extensions fail to compile due to picking up inline assembly from host headers (e.g. _socket[1]). I have fixed this locally by applying