[pypy-commit] cffi default: $ORIGIN is better than .

arigo pypy.commits at gmail.com
Sat Sep 24 16:52:51 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2778:1e4e8ede7303
Date: 2016-09-24 22:52 +0200
http://bitbucket.org/cffi/cffi/changeset/1e4e8ede7303/

Log:	$ORIGIN is better than .

diff --git a/demo/embedding_test.c b/demo/embedding_test.c
--- a/demo/embedding_test.c
+++ b/demo/embedding_test.c
@@ -16,7 +16,8 @@
    There are platform-specific options to gcc to avoid needing
    that, too.  Linux:
 
-      gcc -o embedding_test embedding_test.c _embedding_cffi*.so -Wl,-rpath=.
+      gcc -o embedding_test embedding_test.c _embedding_cffi*.so  \
+          -Wl,-rpath=\$ORIGIN/
 
    =====2=====
 


More information about the pypy-commit mailing list