mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
Add config and plugin directory options to configure
Added --with-configdir and --with-plugindir options to configure which specify the directories for config files and plugin objects respectively. The default paths when these options are not specified are unchanged.
This commit is contained in:
parent
4c9e869ea3
commit
21888c5f50
14 changed files with 51 additions and 31 deletions
|
|
@ -1284,7 +1284,7 @@ static int rate_open_func(snd_pcm_rate_t *rate, const char *type)
|
|||
char lib_name[128], *lib = NULL;
|
||||
if (!is_builtin_plugin(type)) {
|
||||
snprintf(lib_name, sizeof(lib_name),
|
||||
"%s/libasound_module_rate_%s.so", PKGLIBDIR, type);
|
||||
"%s/libasound_module_rate_%s.so", ALSA_PLUGIN_DIR, type);
|
||||
lib = lib_name;
|
||||
}
|
||||
h = snd_dlopen(lib, RTLD_NOW);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue