From a623018ee2367407350b243fdd111e5d8d02effe Mon Sep 17 00:00:00 2001 From: scorpion-26 <58082714+scorpion-26@users.noreply.github.com> Date: Sun, 29 Jan 2023 19:41:42 +0100 Subject: [PATCH] Add install rpath. Should make installing to /usr/local work out of the box --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 047cfd6..654c3fd 100644 --- a/meson.build +++ b/meson.build @@ -55,6 +55,7 @@ executable( ['src/gBar.cpp'], dependencies: [gtk], link_with: libgBar, + install_rpath: '$ORIGIN/:$ORIGIN/../lib', install: true )