Author: Armin Rigo <ar...@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=====
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to