From 61046ff874dc793f3591727e7c44f91f2f1ffaa7 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 28 Apr 2014 11:46:02 +0200 Subject: [PATCH] Revert "Fix path to libaoss.so." This reverts commit 53e8f2dace57cd428e046059ac7172e58d206429. This breaks the multi-arch usage. The original code uses ${exec_prefix} intentionally together with \$LIB (note the backslash here), so that ld.so itself expands the right path for both 32 and 64bit archs. Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=874331 Signed-off-by: Takashi Iwai --- alsa/aoss.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsa/aoss.in b/alsa/aoss.in index d8e1d6d..c551431 100644 --- a/alsa/aoss.in +++ b/alsa/aoss.in @@ -6,8 +6,8 @@ if [ -d /proc/asound ]; then prefix=@prefix@ - libdir=@libdir@ - LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" + exec_prefix=@exec_prefix@ + LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" else exec "$@" fi -- 2.47.1