]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3-native: further tweak to sysconfig.py to find python includes correctly
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 24 Dec 2022 16:59:40 +0000 (17:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Dec 2022 18:37:59 +0000 (18:37 +0000)
commitdf8303ab2f0ca4b694b845016c8d7e0279a48fe7
tree34b7b7ac737b1dc9fc378af1665953cfd57d13a3
parentbc7dcc79cc5c8e2ea92ee45fe918a3488b4b1086
python3-native: further tweak to sysconfig.py to find python includes correctly

Without this, sysconfig would report the target location, which is not
what we want in cross-builds. This is used in particular by
latest autoconf-archive m4 macros, which have migrated from
(removed in py 3.12) distutils to setuptools.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch