Skip to content

Commit ac06b20

Browse files
committed
Link to res files for TK support.
1 parent 930d117 commit ac06b20

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Lib/rebuildpython.py

+7
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,13 @@ def run_rebuild():
445445

446446
link_libs = [x for x in final_lib_list if is_lib_valid(x)]
447447

448+
for file in find_files(
449+
interpreter_prefix, "*.res"
450+
):
451+
if __np__.getToolsInstallDir() in file:
452+
continue
453+
link_flags += [file]
454+
448455
compiler.compile(
449456
["python.c"], output_dir=build_dir, include_dirs=include_dirs, macros=macros
450457
)

0 commit comments

Comments
 (0)