Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r75214:8caae57cec39
Date: 2015-01-02 16:53 -0800
http://bitbucket.org/pypy/pypy/changeset/8caae57cec39/

Log:    (squeaky) we need @executable_path, not @rpath, for the shared lib
        location

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
@@ -14,7 +14,9 @@
 
     def _args_for_shared(self, args):
         return (list(self.shared_only)
-                + ['-dynamiclib', '-install_name', '@rpath/$(TARGET)', 
'-undefined', 'dynamic_lookup']
+                + ['-dynamiclib', '-install_name',
+                   '@executable_path/$(TARGET)', '-undefined',
+                   'dynamic_lookup']
                 + 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