Files
MINGW-packages/mingw-w64-python/0064-disable-readline.patch
2022-01-25 08:18:27 +01:00

33 lines
997 B
Diff

From a082473053ab623768a491fbdfe5e8844dbef47c Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 17 Jun 2021 18:52:17 +0530
Subject: [PATCH 064/N] disable readline
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: Алексей <alexey.pawlow@gmail.com>
---
setup.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index d376299..1e4f9e5 100644
--- a/setup.py
+++ b/setup.py
@@ -1006,7 +1006,10 @@ class PyBuildExt(build_ext):
def detect_readline_curses(self):
# readline
- do_readline = self.compiler.find_library_file(self.lib_dirs, 'readline')
+ if not MS_WINDOWS:
+ do_readline = self.compiler.find_library_file(self.lib_dirs, 'readline')
+ else:
+ do_readline = False
readline_termcap_library = ""
curses_library = ""
# Cannot use os.popen here in py3k.
--
2.34.1