Skip to content

Commit 760e8ea

Browse files
committed
restore missing freeze command invocation
1 parent d3e3394 commit 760e8ea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmake/libpython/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,10 @@ if(PY_VERSION VERSION_LESS "3.11")
575575
$<$<VERSION_GREATER_EQUAL:${PY_VERSION},3.8>:importlib._bootstrap_external>
576576
${SRC_DIR}/Lib/importlib/_bootstrap_external.py
577577
${SRC_DIR}/Python/importlib_external.h
578+
COMMAND
579+
${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:_freeze_importlib>
580+
$<$<VERSION_GREATER_EQUAL:${PY_VERSION},3.8>:importlib._bootstrap>
581+
${SRC_DIR}/Lib/importlib/_bootstrap.py
578582
${SRC_DIR}/Python/importlib.h
579583
DEPENDS
580584
_freeze_importlib

0 commit comments

Comments
 (0)