]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix INCLDIRSTOMAKE in _sysconfigdata.py
authorChangqing Li <changqing.li@windriver.com>
Tue, 19 Feb 2019 01:10:33 +0000 (09:10 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Feb 2019 11:30:26 +0000 (11:30 +0000)
commit4975a283478ec3cbde813a1b27ab318de4aa8051
tree92bd9a2a879da48253d6ababe4dfa139dba9c09f
parent53b5629cf5010f8fee79d82260e291b418cbef7c
python3: fix INCLDIRSTOMAKE in _sysconfigdata.py

recipe glade do_configure failed after python upgrade
to 3.7.2, it will do runtime check of python headers
with native python3 under recipe-sysroot-native, it will check under
path INCLDIRSTOMAKE, but this value is '/usr/include /usr/include
/usr/include/python3.7m /usr/include/python3.7m', which will cause
below error:

ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.

fix it by replace /usr/include to STAGING_INCDIR

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.7.2.bb