]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/meson.build: add install_rpath to kresd docs-develop-shar-t8zrsp/deployments/3691
authorOto Šťáva <oto.stava@nic.cz>
Fri, 5 Apr 2024 09:57:22 +0000 (11:57 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Fri, 5 Apr 2024 09:57:22 +0000 (11:57 +0200)
commit6ca12b77569611922be142edc05959ae78905e07
treebf8d8f03695c950da591bbd28a23a8305f809fea
parent284aaacd9a1b48709eba65b5a668ec7f9e9a039c
daemon/meson.build: add install_rpath to kresd

This fixes the default use-case for developers when they put their
install prefix somewhere where the system `LD_LIBRARY_PATH` does not
point. Before this, `kresd` would fail to start after `ninja install`
because it would not be able to find the `libkres.so` library.

The original workaround to this was to use `meson configure
-Ddefault_library=static`, but firstly, we would like it to be working
with the default settings, and secondly, we would like to have it as
similar to what most users will encounter as possible.
.gitlab-ci.yml
daemon/meson.build
meson.build
meson_options.txt
utils/cache_gc/meson.build
utils/client/meson.build