summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-30 22:56:37 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-30 22:56:37 +0200
commitd06f9742db781a4b4169c8cbd6277d6faec40d4c (patch)
tree3b12ac59d9db0bce4b90e27577d5c322edcb4dc8
parente38c98f97400fcaa5d7bf3f09ae5ab0c7e1e1dda (diff)
downloadcpython-git-d06f9742db781a4b4169c8cbd6277d6faec40d4c.tar.gz
Try to fix compilation failure under OS X
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 19e6bc3668..62e5ad2428 100644
--- a/setup.py
+++ b/setup.py
@@ -597,7 +597,7 @@ class PyBuildExt(build_ext):
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: