mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
build: install targets for f00bar binary + module plugins
Module plugins are (still) built in <build-dir>/modules. When installing, f00bar binary is installed to <install-dir>/bin, and the module plugins to <install-dir>/lib/f00bar. For this to work, we now also set RPATH correctly. Since the installed module plugins end up in a different location then when building, different settings is required for BUILD_RPATH and INSTALL_RPATH.
This commit is contained in:
parent
7f2501334d
commit
f7fd305821
3 changed files with 22 additions and 1 deletions
2
plugin.c
2
plugin.c
|
@ -38,7 +38,7 @@ const struct module_info *
|
|||
plugin_load_module(const char *name)
|
||||
{
|
||||
char path[128];
|
||||
snprintf(path, sizeof(path), "./modules/lib%s.so", name);
|
||||
snprintf(path, sizeof(path), "lib%s.so", name);
|
||||
|
||||
/* Have we already loaded it? */
|
||||
tll_foreach(libs, plug) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue