mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Try to fix compilation failure under OS X
This commit is contained in:
parent
e38c98f974
commit
d06f9742db
1 changed files with 1 additions and 1 deletions
2
setup.py
2
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue