diff options
author | Armin Rigo <arigo@tunes.org> | 2016-09-24 22:52:43 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-09-24 22:52:43 +0200 |
commit | 78a03b278f0f8e3021f30eee2b54504c99457938 (patch) | |
tree | d50587dc128db3887ca34842d2ae00f165aad609 /demo | |
parent | 1700eee5e5d101d91beec0c0bc6896aa77e4f478 (diff) | |
download | cffi-78a03b278f0f8e3021f30eee2b54504c99457938.tar.gz |
$ORIGIN is better than .
Diffstat (limited to 'demo')
-rw-r--r-- | demo/embedding_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/embedding_test.c b/demo/embedding_test.c index 224df1d..ede8cb9 100644 --- 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===== |