summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: