mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
gh-102151: Correctly fetch CONFIG_ARGS in Tools/freeze/test/freeze.py (GH-102152)
(cherry picked from commit c3a178398c
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
61e0bbdb0c
commit
3cc00127a2
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ def prepare(script=None, outdir=None):
|
||||||
print(f'configuring python in {builddir}...')
|
print(f'configuring python in {builddir}...')
|
||||||
cmd = [
|
cmd = [
|
||||||
os.path.join(srcdir, 'configure'),
|
os.path.join(srcdir, 'configure'),
|
||||||
*shlex.split(get_config_var(builddir, 'CONFIG_ARGS') or ''),
|
*shlex.split(get_config_var(srcdir, 'CONFIG_ARGS') or ''),
|
||||||
]
|
]
|
||||||
ensure_opt(cmd, 'cache-file', os.path.join(outdir, 'python-config.cache'))
|
ensure_opt(cmd, 'cache-file', os.path.join(outdir, 'python-config.cache'))
|
||||||
prefix = os.path.join(outdir, 'python-installation')
|
prefix = os.path.join(outdir, 'python-installation')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue