commit | d06f9742db781a4b4169c8cbd6277d6faec40d4c | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Jun 30 22:56:37 2012 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Jun 30 22:56:37 2012 +0200 |
tree | 3b12ac59d9db0bce4b90e27577d5c322edcb4dc8 | |
parent | e38c98f97400fcaa5d7bf3f09ae5ab0c7e1e1dda [diff] [blame] |
Try to fix compilation failure under OS X
diff --git a/setup.py b/setup.py index 19e6bc3..62e5ad2 100644 --- 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: