vlc: select libvorbis when opus is also selected
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Mon, 14 Apr 2014 14:20:07 +0000 (15:20 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 18:53:56 +0000 (20:53 +0200)
commit34df9c717a0132310e3770a37e70637649ca5847
treec580b70288b27409b7fa223fb36a9ccfe9b8afaa
parenta65605d28d8c3ddf6358d10bda023b09d22552b5
vlc: select libvorbis when opus is also selected

If BR2_PACKAGE_OPUS is selected then vlc will be built with support for
opus passing "--enable-opus" option to the configure script. But when
the configure script checks for the opus library it also checks for the
ogg library at the same time, so if only opus has been installed and not
ogg, then it will fail with an error message like this one:

checking for OPUS... no
configure: error: Library ogg opus needed for opus was not found

Fixes:
   http://autobuild.buildroot.net/results/4da/4da8e7cfb35c351e5d623835118512248d331d16/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/vlc/Config.in
package/vlc/vlc.mk