[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Christian Heimes
Christian Heimes added the comment: I just realized that PYTHON_FOR_BUILD is far more complicated. Our WASM build system sets the env var to "$(pwd)/cpython/builddir/build/python". The configure script expects us to set several additional env vars. The logic goes like this for cross

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Ethan Smith
Change by Ethan Smith : -- nosy: +ethan smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Christian Heimes
New submission from Christian Heimes : "sysconfig --generate-posix-vars" creates pybuilddir.txt and a platform-specific sysconfig data file like build/lib.linux-x86_64-3.11/_sysconfigdata__linux_x86_64-linux-gnu.py When creating a cross-compile build of Python, sysconfig mixes data from the