Commit eef19282 authored by Ronald Oussoren's avatar Ronald Oussoren

Disable linking extensions with -lpython2.5 for darwin. This should fix bug

#1487105.
parent e22f2ec8
...@@ -689,6 +689,11 @@ class build_ext (Command): ...@@ -689,6 +689,11 @@ class build_ext (Command):
# don't extend ext.libraries, it may be shared with other # don't extend ext.libraries, it may be shared with other
# extensions, it is a reference to the original list # extensions, it is a reference to the original list
return ext.libraries + [pythonlib, "m"] + extra return ext.libraries + [pythonlib, "m"] + extra
elif sys.platform == 'darwin':
# Don't use the default code below
return ext.libraries
else: else:
from distutils import sysconfig from distutils import sysconfig
if sysconfig.get_config_var('Py_ENABLE_SHARED'): if sysconfig.get_config_var('Py_ENABLE_SHARED'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment