diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-02-23 14:09:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 14:09:51 (GMT) |
commit | c3a178398c199038f3a0891d09f0363ec73f3b38 (patch) | |
tree | 1a8f383b907aafd39515cb819e7f8497d2aacca8 /Tools/freeze | |
parent | 665730d2176aabd05ca5741056aef43189b6f754 (diff) | |
download | cpython-c3a178398c199038f3a0891d09f0363ec73f3b38.zip cpython-c3a178398c199038f3a0891d09f0363ec73f3b38.tar.gz cpython-c3a178398c199038f3a0891d09f0363ec73f3b38.tar.bz2 |
gh-102151: Correctly fetch CONFIG_ARGS in Tools/freeze/test/freeze.py (#102152)
Diffstat (limited to 'Tools/freeze')
-rw-r--r-- | Tools/freeze/test/freeze.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/test/freeze.py b/Tools/freeze/test/freeze.py index b4c76ff..f6a5adb 100644 --- a/Tools/freeze/test/freeze.py +++ b/Tools/freeze/test/freeze.py @@ -153,7 +153,7 @@ def prepare(script=None, outdir=None): print(f'configuring python in {builddir}...') cmd = [ 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')) prefix = os.path.join(outdir, 'python-installation') |