vcpkg/ports/python3/0012-force-disable-modules.patch
Robert Coup 8e745df694
python3: disable tkinter module on posix (#34998)
When running with VCPKG_FORCE_SYSTEM_BINARIES=ON (linux/arm64) then the Python
build will pick up libtk and attempt to build the tkinter module, linking to the
system library and causing either a build failure or an external link
dependency. Fix this by explicitly disabling it as we do for curses.
2023-11-10 11:30:23 -08:00

14 lines
297 B
Diff

diff --git a/Modules/Setup b/Modules/Setup
index 87c6a152f8..7ad53f5b4f 100644
--- a/Modules/Setup
+++ b/Modules/Setup
@@ -375,3 +375,8 @@ xxsubtype xxsubtype.c
#
# _sqlite3 _tkinter _curses pyexpat
# _codecs_jp _codecs_kr _codecs_tw unicodedata
+
+*disabled*
+_curses
+_curses_panel
+_tkinter