From 01cf82385509f9a7d1ff09b5086dee136b9562f0 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 4 Apr 2025 20:58:31 +0200 Subject: Meson: Add option to set rpath on installed binaries --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 154e97e8..627b2eeb 100644 --- a/meson.build +++ b/meson.build @@ -59,6 +59,11 @@ endif prog_git = find_program('git', required: false) prog_python = python.find_installation() +default_install_rpath = '' +if get_option('set-install-rpath') + default_install_rpath = get_option('prefix') / get_option('libdir') +endif + subdir('qlite') subdir('xmpp-vala') subdir('libdino') -- cgit v1.3