Skip to content

Commit c3a1783

Browse files
gh-102151: Correctly fetch CONFIG_ARGS in Tools/freeze/test/freeze.py (#102152)
1 parent 665730d commit c3a1783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/freeze/test/freeze.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def prepare(script=None, outdir=None):
153153
print(f'configuring python in {builddir}...')
154154
cmd = [
155155
os.path.join(srcdir, 'configure'),
156-
*shlex.split(get_config_var(builddir, 'CONFIG_ARGS') or ''),
156+
*shlex.split(get_config_var(srcdir, 'CONFIG_ARGS') or ''),
157157
]
158158
ensure_opt(cmd, 'cache-file', os.path.join(outdir, 'python-config.cache'))
159159
prefix = os.path.join(outdir, 'python-installation')

0 commit comments

Comments
 (0)