From d06f9742db781a4b4169c8cbd6277d6faec40d4c Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 30 Jun 2012 22:56:37 +0200 Subject: Try to fix compilation failure under OS X --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 19e6bc3..62e5ad2 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: -- cgit v0.12