[alsa-devel] [PATCH 1/3] Fix path to libaoss.so.
Jordi Mallach
jordi at debian.org
Wed May 15 18:58:05 CEST 2013
Fix path to libaoss.so using ${libdir} instead of ${exec_prefix}.
${libdir} has the value given at configure time and works with Debian's
Multiarch implementation.
Signed-off-by: Jordi Mallach <jordi at debian.org>
---
alsa/aoss.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/alsa/aoss.in b/alsa/aoss.in
index c551431..d8e1d6d 100644
--- a/alsa/aoss.in
+++ b/alsa/aoss.in
@@ -6,8 +6,8 @@
if [ -d /proc/asound ]; then
prefix=@prefix@
- exec_prefix=@exec_prefix@
- LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
+ libdir=@libdir@
+ LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
else
exec "$@"
fi
--
1.7.10.4
More information about the Alsa-devel
mailing list