Skip to content

Commit 79c94b1

Browse files
committed
Fix
1 parent a57099f commit 79c94b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/freeze/test/freeze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def prepare(script=None, outdir=None):
131131

132132
# Run configure.
133133
print(f'configuring python in {builddir}...')
134-
config_args = shlex.split(sysconfig.get_config_var(SRCDIR, 'CONFIG_ARGS') or '')
134+
config_args = shlex.split(sysconfig.get_config_var('CONFIG_ARGS') or '')
135135
cmd = [os.path.join(srcdir, 'configure'), *config_args]
136136
ensure_opt(cmd, 'cache-file', os.path.join(outdir, 'python-config.cache'))
137137
prefix = os.path.join(outdir, 'python-installation')

0 commit comments

Comments
 (0)