From d686de7ec3868c0a61417fa166a4829bbaeb09a9 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 17 Apr 2018 16:27:31 +0200 Subject: [PATCH] Set the RPATH of kiwix-lib. As we cannot change (DY)LD_LIBRARY_PATH on macos, we have to use rpath. --- src/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 02e3e2d4b..4a1e0266f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -41,4 +41,5 @@ kiwixlib = library('kiwix', dependencies : all_deps, version: meson.project_version(), install: true, - install_dir: install_dir) + install_dir: install_dir, + install_rpath: '$ORIGIN')