Commit 7fee85c8 authored by Max Kellermann's avatar Max Kellermann

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.
parent 5d87a274
ver 0.18.9 (not yet released) ver 0.18.9 (not yet released)
* decoder
- vorbis: fix linker failure when libvorbis/libogg are static
* encoder * encoder
- vorbis: fix another linker failure - vorbis: fix another linker failure
......
...@@ -1023,7 +1023,7 @@ if test x$enable_tremor = xyes; then ...@@ -1023,7 +1023,7 @@ if test x$enable_tremor = xyes; then
fi fi
fi fi
MPD_AUTO_PKG(vorbis, VORBIS, [vorbis vorbisfile ogg], MPD_AUTO_PKG(vorbis, VORBIS, [vorbisfile vorbis ogg],
[Ogg Vorbis decoder], [libvorbis not found]) [Ogg Vorbis decoder], [libvorbis not found])
if test x$enable_vorbis = xyes; then if test x$enable_vorbis = xyes; then
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support]) AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment