mirror of
https://github.com/python/cpython.git
synced 2025-07-18 16:55:20 +00:00
bpo-45886: Allow overriding freeze command for cross compiling (GH-29735)
This commit is contained in:
parent
f9de97aae5
commit
dd8ce9ea8d
3 changed files with 48 additions and 43 deletions
|
@ -598,10 +598,10 @@ def regen_makefile(modules):
|
|||
pyfile = relpath_for_posix_display(src.pyfile, ROOT_DIR)
|
||||
pyfiles.append(f'\t\t{pyfile} \\')
|
||||
|
||||
freeze = (f'Programs/_freeze_module {src.frozenid} '
|
||||
freeze = (f'$(FREEZE_MODULE) {src.frozenid} '
|
||||
f'$(srcdir)/{pyfile} {header}')
|
||||
rules.extend([
|
||||
f'{header}: Programs/_freeze_module {pyfile}',
|
||||
f'{header}: $(FREEZE_MODULE) {pyfile}',
|
||||
f'\t{freeze}',
|
||||
'',
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue