OSDN Git Service

dlsym: use the only alsa plugins directory for the internal modules
authorJaroslav Kysela <perex@perex.cz>
Tue, 13 Oct 2020 14:51:21 +0000 (16:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 13 Oct 2020 15:00:29 +0000 (17:00 +0200)
commitaa89ad93623fc97fed6f99370a97c9c3eee1d6fd
tree0abe202d3fb2aeeef7c48a7ed7ff96c23881f842
parent2a204a5412ee956ede792a6872ff3d0516d0f0df
dlsym: use the only alsa plugins directory for the internal modules

The commit b2a4272ecb40d84556d8e043d0b6e89439acbc33 introduced a slightly
different behaviour for ALSA_PLUGIN_DIR. The fallback causes that the
alsa libraries are searched in all library directories.

It was never intended to do the system wide library lookups for
internal modules.

Fixes: b2a4272ecb40 ("snd_dlopen: do not use absolute plugin path for snd_dlopen() calls")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/dlmisc.c