Author: Jason Madden <[email protected]>
Branch: osx-flat-namespace
Changeset: r80774:db227f4e2909
Date: 2015-11-19 06:11 -0600
http://bitbucket.org/pypy/pypy/changeset/db227f4e2909/

Log:    Fix the cpyext tests by linking with -flat_namespace.

diff --git a/rpython/translator/platform/darwin.py 
b/rpython/translator/platform/darwin.py
--- a/rpython/translator/platform/darwin.py
+++ b/rpython/translator/platform/darwin.py
@@ -26,11 +26,11 @@
         # needed for cross compiling on ARM, needs fixing if relevant for 
darwin
         if len(rel_libdirs) > 0:
             print 'in get_rpath_flags, rel_libdirs is not fixed up',rel_libdirs
-        return self.rpath_flags 
+        return self.rpath_flags
 
     def _args_for_shared(self, args):
         return (list(self.shared_only)
-                + ['-dynamiclib', '-install_name', '@rpath/$(TARGET)', 
'-undefined', 'dynamic_lookup']
+                + ['-dynamiclib', '-install_name', '@rpath/$(TARGET)', 
'-undefined', 'dynamic_lookup', '-flat_namespace']
                 + args)
 
     def _include_dirs_for_libffi(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to