[Python-checkins] cpython: Try to fix compilation failure under OS X
antoine.pitrou
python-checkins at python.org
Sat Jun 30 23:04:34 CEST 2012
http://hg.python.org/cpython/rev/37ea9350257a
changeset: 77891:37ea9350257a
parent: 77875:18a3528f661d
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Jun 30 22:56:37 2012 +0200
summary:
Try to fix compilation failure under OS X
files:
setup.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -597,7 +597,7 @@
if not os.path.exists(self.build_temp):
os.makedirs(self.build_temp)
ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
- if ret >> 8 == 0:
+ if ret == 0:
with open(tmpfile) as fp:
for ln in fp:
if 'curses' in ln:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list