--- alsa-oss-1.1.8.old/alsa/aoss.in +++ alsa-oss-1.1.8/alsa/aoss.in @@ -2,12 +2,13 @@ # A simple script to facilitate the use of the OSS compatibility library. # Usage: -# aoss +# aoss if [ -d /proc/asound ]; then prefix=@prefix@ exec_prefix=@exec_prefix@ - LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" + export INSIDEAOSS=YES + LD_PRELOAD=${exec_prefix}/lib/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" else exec "$@" fi