Files
MINGW-packages/mingw-w64-python/0076-configure-disable-various-modules-on-MINGW.patch
2026-01-07 22:17:09 +01:00

35 lines
873 B
Diff

From 2d4d696d0cb839958a788ef60ce71f1712b269ed Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Mon, 1 Jan 2024 14:19:41 +0530
Subject: [PATCH 076/N] configure: disable various modules on MINGW
---
configure.ac | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/configure.ac b/configure.ac
index 65960d9..35b94f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8072,6 +8072,20 @@ AS_CASE([$ac_sys_system],
)
],
[CYGWIN*], [PY_STDLIB_MOD_SET_NA([_scproxy])],
+ [MINGW*], [
+ PY_STDLIB_MOD_SET_NA(
+ [readline],
+ [_posixshmem],
+ [_posixsubprocess],
+ [fcntl],
+ [grp],
+ [pwd],
+ [resource],
+ [syslog],
+ [termios],
+ [_scproxy],
+ )
+ ],
[QNX*], [PY_STDLIB_MOD_SET_NA([_scproxy])],
[FreeBSD*], [PY_STDLIB_MOD_SET_NA([_scproxy])],
[Emscripten|WASI], [