OSDN Git Service

Compile in the ALSA search path instead of relying on ld.so.conf.
authorSteve Langasek <steve.langasek@canonical.com>
Wed, 15 May 2013 17:05:59 +0000 (19:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 May 2013 08:13:28 +0000 (10:13 +0200)
commitb906db19ef9f4fb7886003072e550391cc1ac651
treeff79c26e9e6ab49df32f280e2ce4acffeb26c1e9
parent2b84ab0514cff71cb40ef96253f4624e39e9860b
Compile in the ALSA search path instead of relying on ld.so.conf.

The Ubuntu package currently uses ld.so.conf.d fragments to add
/usr/lib/alsa-lib and /usr/lib{32,64}/alsa-lib to the dlopen search path.
These don't *belong* on the global search path, and it becomes much more
problematic to put them there with the advent of multiarch because each
architecture then needs its own distinct config file to add the separate
path... which is then also put in the global library namespace.  Instead,
let ALSA make use of the already defined ALSA_PLUGIN_DIR to look up
plugins.

Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/dlmisc.c