configure.ac: fix linker failure when libvorbis/libogg are static
Link libvorbisfile first, followed to libvorbis and finally libogg. This order is necessary because libvorbisfile depends on libvorbis.
This commit is contained in:
parent
5d87a274a5
commit
7fee85c80a
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
ver 0.18.9 (not yet released)
|
||||
* decoder
|
||||
- vorbis: fix linker failure when libvorbis/libogg are static
|
||||
* encoder
|
||||
- vorbis: fix another linker failure
|
||||
|
||||
|
|
|
@ -1023,7 +1023,7 @@ if test x$enable_tremor = xyes; then
|
|||
fi
|
||||
fi
|
||||
|
||||
MPD_AUTO_PKG(vorbis, VORBIS, [vorbis vorbisfile ogg],
|
||||
MPD_AUTO_PKG(vorbis, VORBIS, [vorbisfile vorbis ogg],
|
||||
[Ogg Vorbis decoder], [libvorbis not found])
|
||||
if test x$enable_vorbis = xyes; then
|
||||
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])
|
||||
|
|
Loading…
Reference in New Issue