Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d06f974

Browse files
committed
Try to fix compilation failure under OS X
1 parent e38c98f commit d06f974

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def detect_modules(self):
597597
if not os.path.exists(self.build_temp):
598598
os.makedirs(self.build_temp)
599599
ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
600-
if ret >> 8 == 0:
600+
if ret == 0:
601601
with open(tmpfile) as fp:
602602
for ln in fp:
603603
if 'curses' in ln:

0 commit comments

Comments
 (0)