[issue28421] lib/distutils/sysconfig.py fails to pick up Py_ENABLE_SHARED value

2016-10-12 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> third party stage: -> resolved ___ Python tracker ___

[issue28421] lib/distutils/sysconfig.py fails to pick up Py_ENABLE_SHARED value

2016-10-12 Thread Takashi Matsuzawa
Takashi Matsuzawa added the comment: I further looked into my build environment. This particular pyconfig.h is generated by Yocto build toolchain, modifying the original flat pyconfig.h So, this issue may not be Pythons, but Yocto/OE's. -- status: open -> closed

[issue28421] lib/distutils/sysconfig.py fails to pick up Py_ENABLE_SHARED value

2016-10-12 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: How is sysroots/qemux86/user/include/python2.7/pyconfig.h generated? In normal cases, there's no #include in pyconfig.h. -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue28421] lib/distutils/sysconfig.py fails to pick up Py_ENABLE_SHARED value

2016-10-12 Thread Takashi Matsuzawa
New submission from Takashi Matsuzawa: I have been debugging for a couple of days to now why my extension module build fails with my Yocto 2.0 cross-build environment. (python version is 2.7, host is x86_64 and target is qemux86). The symptom is that LD flags -L and -lpython27 are not being