preload libasound.so.2 instead of libasound.so

Under some systems libasound.so is not available by default (reserved to devel packages), which will trigger some LD_PRELOAD warnings.
Bristol fails to start because of this, as it's not expecting such output when first requesting jack sample-rate and buffer-size.
Adding .2 to the library name ensures that the alsa library is always present on non-devel systems, and fixes the Bristol issue.
This commit is contained in:
falkTX 2012-11-11 22:59:32 +00:00
parent 2c3c3f0290
commit 88aaa609e2
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ loader_run(void)
loader_childs_bury();
}
#define LD_PRELOAD_ADD "libalsapid.so libasound.so"
#define LD_PRELOAD_ADD "libalsapid.so libasound.so.2"
static void set_ldpreload(void)
{