[Python-checkins] r80344 - python/branches/py3k-cdecimal/setup.py
stefan.krah
python-checkins at python.org
Thu Apr 22 10:27:29 CEST 2010
Author: stefan.krah
Date: Thu Apr 22 10:27:29 2010
New Revision: 80344
Log:
Skip library detection on OS X.
Modified:
python/branches/py3k-cdecimal/setup.py
Modified: python/branches/py3k-cdecimal/setup.py
==============================================================================
--- python/branches/py3k-cdecimal/setup.py (original)
+++ python/branches/py3k-cdecimal/setup.py Thu Apr 22 10:27:29 2010
@@ -494,7 +494,7 @@
readline_curses_library = ""
curses_library = ""
# Determine if readline is already linked against curses:
- if do_readline:
+ if do_readline and platform != 'darwin': # OS X does not have ldd.
# Cannot use os.popen here in py3k.
tmpfile = os.path.join(self.build_temp, 'readline_curses_lib')
if not os.path.exists(self.build_temp):
More information about the Python-checkins
mailing list