summaryrefslogtreecommitdiff
path: root/demo/embedding_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/embedding_test.c')
-rw-r--r--demo/embedding_test.c3
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=====