[pypy-commit] pypy default: fix @executable_path not being recognized in the rpath without the trailing slash

pjenvey noreply at buildbot.pypy.org
Sun Jan 4 20:43:50 CET 2015


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r75233:12cd1202efe7
Date: 2015-01-04 11:43 -0800
http://bitbucket.org/pypy/pypy/changeset/12cd1202efe7/

Log:	fix @executable_path not being recognized in the rpath without the
	trailing slash

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
@@ -10,7 +10,7 @@
 
     so_ext = 'dylib'
     DEFAULT_CC = 'clang'
-    rpath_flags = ['-Wl,-rpath', '-Wl, at executable_path']
+    rpath_flags = ['-Wl,-rpath', '-Wl, at executable_path/']
 
     def _args_for_shared(self, args):
         return (list(self.shared_only)


More information about the pypy-commit mailing list