diff options
Diffstat (limited to '0076-disable-readline.patch')
-rw-r--r-- | 0076-disable-readline.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/0076-disable-readline.patch b/0076-disable-readline.patch new file mode 100644 index 000000000000..8790fec5525a --- /dev/null +++ b/0076-disable-readline.patch @@ -0,0 +1,32 @@ +From 9e98fd461e9504b1275c883f7edb59258d2cf087 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 076/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 79111ab..ea2aa96 100644 +--- a/setup.py ++++ b/setup.py +@@ -997,7 +997,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.32.0 + |