view patches/python-2.6.4-readline.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents bcdf1543fa40
children
line wrap: on
line source

From 7e564cfda79a5777ce29b6f5e39ef19a900c94da Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@lilypond.org>
Date: Sat, 14 Feb 2009 15:36:52 -0200
Subject: [PATCH] Disable readline setup.

---
 setup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/setup.py b/setup.py
index bb7b26e..738b9a9 100644
--- a/setup.py
+++ b/setup.py
@@ -555,7 +555,7 @@ class PyBuildExt(build_ext):
             missing.extend(['imageop'])
 
         # readline
-        do_readline = self.compiler.find_library_file(lib_dirs, 'readline')
+        do_readline = False and self.compiler.find_library_file(lib_dirs, 'readline')
         if platform == 'darwin': # and os.uname()[2] < '9.':
             # MacOSX 10.4 has a broken readline. Don't try to build
             # the readline module unless the user has installed a fixed
-- 
1.6.0.6