[pypy-svn] r72520 - pypy/trunk/pypy/translator/platform

lucian at codespeak.net lucian at codespeak.net
Mon Mar 22 03:11:07 CET 2010


Author: lucian
Date: Mon Mar 22 03:11:05 2010
New Revision: 72520

Modified:
   pypy/trunk/pypy/translator/platform/darwin.py
Log:
Revert change from -bundle to -dylib because it breaks many rffi tests.

Modified: pypy/trunk/pypy/translator/platform/darwin.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/darwin.py	(original)
+++ pypy/trunk/pypy/translator/platform/darwin.py	Mon Mar 22 03:11:05 2010
@@ -10,7 +10,7 @@
     standalone_only = ['-mdynamic-no-pic']
     shared_only = []
 
-    so_ext = 'dylib'
+    so_ext = 'so'
     
     def __init__(self, cc=None):
         if cc is None:
@@ -18,7 +18,7 @@
         self.cc = cc
 
     def _args_for_shared(self, args):
-        return (self.shared_only + ['-dylib', '-undefined', 'dynamic_lookup']
+        return (self.shared_only + ['-bundle', '-undefined', 'dynamic_lookup']
                                  + args)
 
     def include_dirs_for_libffi(self):



More information about the Pypy-commit mailing list