]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124932: Distinguish build prefix from host prefix in cross builds (#124933)
authorHood Chatham <roberthoodchatham@gmail.com>
Tue, 29 Oct 2024 21:45:49 +0000 (22:45 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Oct 2024 21:45:49 +0000 (05:45 +0800)
commitb1f13bce62ff666f59286e8325011d8e9e0ddca7
tree6d5752201a8fa93b483ab6958e7a1b525782728b
parent6742f14dfd3fa8ba8a245efa21a4f723160d93d4
gh-124932: Distinguish build prefix from host prefix in cross builds (#124933)

In Emscripten and other cross builds, the build file system and the host file
system look different. For instance, we may want to install into
`cross-build/$TARGET/lib`, and then mount that as `/lib` in the host file
system. This change adds a distinction between:

* `prefix` -- the path in the build file system where we want to install the files
* `host_prefix` -- the path in the host file system where getpath.c will look for the files

And similarly for `exec_prefix` and `host_exec_prefix`. At present, this is only
used for Emscripten.
Makefile.pre.in
Misc/NEWS.d/next/Build/2024-10-25-17-20-50.gh-issue-124932.F-aNuS.rst [new file with mode: 0644]
configure
configure.ac