libao: Remove OSS plugin when ALSA is enabled
authorMaarten ter Huurne <maarten@treewalker.org>
Tue, 8 Apr 2014 17:45:07 +0000 (19:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 3 May 2014 20:25:35 +0000 (22:25 +0200)
commita889c72cc833d0f9042a3fa74c14f488d665ce5c
treeb671fd4fa2ef27e15f5df1c13d2f461ddc4912c1
parent230b1efb02505357053bfba1f91822bbaea4e470
libao: Remove OSS plugin when ALSA is enabled

At runtime, libao will load all plugins, even ones that will never be used.
Since libao will prefer ALSA over OSS by default anyway, it is pretty safe
to exclude the OSS plugin.

There is no configure option for disabling the OSS plugin, so we remove
the shared object in a post-install hook.

Also disable alsa oss emulation workaround as it no longer will be used with
alsa.

[Peter: explain why --disable-broken-oss is passed]
Signed-Off-By: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libao/libao.mk