Skip to content

Commit 877d0fb

Browse files
authored
include tcl9 files in artifacts (#946)
These files are needed for `_tkinter`. They were mistakenly removed in #928.
1 parent b097423 commit 877d0fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpython-unix/build-cpython.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,11 +1282,11 @@ fi
12821282
# And prune libraries we never reference.
12831283
rm -f ${ROOT}/out/python/build/lib/{libdb-6.0,libxcb-*,libX11-xcb}.a
12841284

1285-
if [ -d "${TOOLS_PATH}/deps/lib/tk9.0" ]; then
1285+
if [ -d "${TOOLS_PATH}/deps/lib/tcl9" ]; then
12861286
# Copy tcl/tk resources needed by tkinter.
1287-
mkdir ${ROOT}/out/python/install/lib/tk9.0
1287+
mkdir ${ROOT}/out/python/install/lib/tcl
12881288
# Keep this list in sync with tcl_library_paths.
1289-
for source in ${TOOLS_PATH}/deps/lib/{itcl4.3.5,thread3.0.4,tk9.0}; do
1289+
for source in ${TOOLS_PATH}/deps/lib/{itcl4.3.5,tcl9,tcl9.0,thread3.0.4,tk9.0}; do
12901290
cp -av $source ${ROOT}/out/python/install/lib/
12911291
done
12921292

0 commit comments

Comments
 (0)