[pypy-svn] r72668 - pypy/branch/cpython-extension/pypy/translator/platform
lucian at codespeak.net
lucian at codespeak.net
Tue Mar 23 22:14:50 CET 2010
Author: lucian
Date: Tue Mar 23 22:14:48 2010
New Revision: 72668
Modified:
pypy/branch/cpython-extension/pypy/translator/platform/darwin.py
Log:
Switch from .bundle to .dylib for shared objects on darwin. This branch can catch fire, but trunk will be safe.
Modified: pypy/branch/cpython-extension/pypy/translator/platform/darwin.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/translator/platform/darwin.py (original)
+++ pypy/branch/cpython-extension/pypy/translator/platform/darwin.py Tue Mar 23 22:14:48 2010
@@ -18,14 +18,14 @@
self.cc = cc
def _args_for_shared(self, args):
- return (self.shared_only + ['-bundle', '-undefined', 'dynamic_lookup']
+ return (self.shared_only + ['-dynamiclib', '-undefined', 'dynamic_lookup']
+ args)
def include_dirs_for_libffi(self):
return ['/usr/include/ffi']
def library_dirs_for_libffi(self):
- return []
+ return ['/usr/lib']
def check___thread(self):
# currently __thread is not supported by Darwin gccs
More information about the Pypy-commit
mailing list